Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/DikeHeightAssessmentOutputCreateExtensions.cs
===================================================================
diff -u -r9798fd949a2e90dfe1750377f9757fc456571ed1 -r8cb270db5fbcb82f19d6f3a390f083e9e0516d8c
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/DikeHeightAssessmentOutputCreateExtensions.cs (.../DikeHeightAssessmentOutputCreateExtensions.cs) (revision 9798fd949a2e90dfe1750377f9757fc456571ed1)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/DikeHeightAssessmentOutputCreateExtensions.cs (.../DikeHeightAssessmentOutputCreateExtensions.cs) (revision 8cb270db5fbcb82f19d6f3a390f083e9e0516d8c)
@@ -25,22 +25,22 @@
namespace Application.Ringtoets.Storage.Create.GrassCoverErosionInwards
{
///
- /// Extension methods for related to creating a .
+ /// Extension methods for related to creating a .
///
internal static class DikeHeightAssessmentOutputCreateExtensions
{
///
- /// Creates a based on the information of the .
+ /// Creates a based on the information of the .
///
/// The output to create a database entity for.
/// A new .
- internal static GrassCoverErosionInwardsDikeHeightOutputEntity Create(this DikeHeightAssessmentOutput output)
+ internal static GrassCoverErosionInwardsDikeHeightOutputEntity Create(this SubCalculationAssessmentOutput output)
{
return new GrassCoverErosionInwardsDikeHeightOutputEntity
{
- DikeHeight = double.IsNaN(output.DikeHeight)
+ DikeHeight = double.IsNaN(output.Result)
? (double?) null
- : output.DikeHeight,
+ : output.Result,
TargetProbability = double.IsNaN(output.TargetProbability)
? (double?) null
: output.TargetProbability,