feature/#524-pipline #15

Merged
on.nemtina merged 85 commits from feature/#524-pipline into master 2024-12-23 16:39:46 +05:00
Showing only changes of commit a73a511fc9 - Show all commits

View File

@ -11,6 +11,10 @@ public static class DependencyInjection
{
public static void MapsterSetup()
{
TypeAdapterConfig.GlobalSettings.Default.Config
.ForType<TechMessageDto, TechMessage>()
.Ignore(dest => dest.System, dest => dest.SystemId);
TypeAdapterConfig.GlobalSettings.Default.Config
.ForType<ChangeLog, ChangeLogDto>()
.Map(dest => dest.Value, src => new DataWithWellDepthAndSectionDto()
@ -21,11 +25,6 @@ public static class DependencyInjection
Value = src.Value,
Id = src.Id
});
TypeAdapterConfig.GlobalSettings.Default.Config
.ForType<TechMessageDto, TechMessage>()
.Ignore(dest => dest.System, dest => dest.SystemId);
}
public static IServiceCollection AddInfrastructure(this IServiceCollection services)