Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs =================================================================== diff -u -rac8798cf0a66cf04df1294d4fd08e0b1915a5b91 -r528e3367ba1d3581bef2b60fd8bf524de19cbcb7 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs (.../GrassCoverErosionInwardsDataSynchronizationService.cs) (revision ac8798cf0a66cf04df1294d4fd08e0b1915a5b91) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs (.../GrassCoverErosionInwardsDataSynchronizationService.cs) (revision 528e3367ba1d3581bef2b60fd8bf524de19cbcb7) @@ -82,6 +82,7 @@ calculation }; } + return Enumerable.Empty(); } @@ -168,14 +169,17 @@ { throw new ArgumentNullException(nameof(dikeProfileToRemove)); } + if (calculations == null) { throw new ArgumentNullException(nameof(calculations)); } + if (dikeProfiles == null) { throw new ArgumentNullException(nameof(dikeProfiles)); } + if (sectionResults == null) { throw new ArgumentNullException(nameof(sectionResults)); @@ -213,10 +217,12 @@ { throw new ArgumentNullException(nameof(calculations)); } + if (dikeProfiles == null) { throw new ArgumentNullException(nameof(dikeProfiles)); } + if (sectionResults == null) { throw new ArgumentNullException(nameof(sectionResults)); @@ -249,6 +255,7 @@ affectedObjects.AddRange(RingtoetsCommonDataSynchronizationService.ClearCalculationOutput(calculation)); affectedObjects.AddRange(ClearDikeProfile(calculation.InputParameters)); } + affectedObjects.AddRange(GrassCoverErosionInwardsHelper.UpdateCalculationToSectionResultAssignments( sectionResults, calculations)); @@ -265,6 +272,7 @@ inputParameters }; } + return Enumerable.Empty(); } @@ -278,6 +286,7 @@ input }; } + return Enumerable.Empty(); } }