Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/BackgroundDataCreateExtensions.cs
===================================================================
diff -u -r5a5fe803bd7b9feef47a3ff1b0dac3fa42309aca -r2865b0fc522e96a2f12c47f29805b13259ecde4f
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/BackgroundDataCreateExtensions.cs (.../BackgroundDataCreateExtensions.cs) (revision 5a5fe803bd7b9feef47a3ff1b0dac3fa42309aca)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/BackgroundDataCreateExtensions.cs (.../BackgroundDataCreateExtensions.cs) (revision 2865b0fc522e96a2f12c47f29805b13259ecde4f)
@@ -38,23 +38,14 @@
/// .
///
/// The container to create a for.
- /// The entity, or null if is not supported.
+ /// The created .
internal static BackgroundDataEntity Create(this BackgroundData backgroundData)
{
if (backgroundData == null)
{
throw new ArgumentNullException(nameof(backgroundData));
}
-
- if (backgroundData.BackgroundMapDataType == BackgroundMapDataType.Wmts)
- {
- return CreateWithWmtsData(backgroundData);
- }
- return null; // TODO: WTI-1141
- }
- private static BackgroundDataEntity CreateWithWmtsData(BackgroundData backgroundData)
- {
var entity = new BackgroundDataEntity
{
Name = backgroundData.Name.DeepClone(),
@@ -67,7 +58,6 @@
{
AddEntitiesForBackgroundDataMeta(backgroundData, entity);
}
-
return entity;
}