Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresSectionResultEntityReadExtensions.cs =================================================================== diff -u -r86ce17cdf5cf329f4d5bcd444320994fead52294 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- 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 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -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)