diff --git a/DD.Persistence.Repository/DependencyInjection.cs b/DD.Persistence.Repository/DependencyInjection.cs index f960b7c..9077205 100644 --- a/DD.Persistence.Repository/DependencyInjection.cs +++ b/DD.Persistence.Repository/DependencyInjection.cs @@ -15,8 +15,7 @@ public static class DependencyInjection .ForType() .Ignore(dest => dest.System, dest => dest.SystemId); - TypeAdapterConfig.GlobalSettings.Default.Config - .ForType() + TypeAdapterConfig.NewConfig() .Map(dest => dest.Value, src => new DataWithWellDepthAndSectionDto() { DepthEnd = src.DepthEnd,