Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/HeightStructures/HeightStructuresFailureMechanismSectionResultCreateExtensions.cs =================================================================== diff -u -ra23cff5445d53b381fd72f50a0d9b6c200cbcd69 -ra818b331454adfdbdf5e806ca3824e98f76e1d4a --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/HeightStructures/HeightStructuresFailureMechanismSectionResultCreateExtensions.cs (.../HeightStructuresFailureMechanismSectionResultCreateExtensions.cs) (revision a23cff5445d53b381fd72f50a0d9b6c200cbcd69) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/HeightStructures/HeightStructuresFailureMechanismSectionResultCreateExtensions.cs (.../HeightStructuresFailureMechanismSectionResultCreateExtensions.cs) (revision a818b331454adfdbdf5e806ca3824e98f76e1d4a) @@ -21,32 +21,32 @@ using System; using Application.Ringtoets.Storage.DbContext; -using Ringtoets.Common.Data.Structures; using Ringtoets.HeightStructures.Data; namespace Application.Ringtoets.Storage.Create.HeightStructures { /// - /// Extension methods for related to creating a + /// Extension methods for related to creating a /// . /// internal static class HeightStructuresFailureMechanismSectionResultCreateExtensions { /// /// Creates a based on the information of the - /// . + /// . /// /// The result to create a database entity for. /// The object keeping track of create operations. /// A new . /// Thrown when is null. - internal static HeightStructuresSectionResultEntity Create(this StructuresFailureMechanismSectionResult result, + internal static HeightStructuresSectionResultEntity Create(this HeightStructuresFailureMechanismSectionResult result, PersistenceRegistry registry) { if (registry == null) { throw new ArgumentNullException(nameof(registry)); } + var sectionResultEntity = new HeightStructuresSectionResultEntity { LayerOne = Convert.ToByte(result.AssessmentLayerOne),