Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresSectionResultEntityReadExtensions.cs =================================================================== diff -u -r86ce17cdf5cf329f4d5bcd444320994fead52294 -re38a7c2baca2872af6319d535c6468133ea31fbc --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresSectionResultEntityReadExtensions.cs (.../ClosingStructuresSectionResultEntityReadExtensions.cs) (revision 86ce17cdf5cf329f4d5bcd444320994fead52294) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresSectionResultEntityReadExtensions.cs (.../ClosingStructuresSectionResultEntityReadExtensions.cs) (revision e38a7c2baca2872af6319d535c6468133ea31fbc) @@ -23,6 +23,7 @@ using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; using Ringtoets.ClosingStructures.Data; +using Ringtoets.Common.Data.FailureMechanism; namespace Application.Ringtoets.Storage.Read.ClosingStructures { @@ -53,7 +54,7 @@ throw new ArgumentNullException("collector"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); if (entity.ClosingStructuresCalculationEntity != null)