Merge pull request 'Фикс бага обновления бурильщика в расписании' (#227) from fix/update_schedule into dev

Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/227
This commit is contained in:
Никита Фролов 2024-02-26 11:04:14 +05:00
commit 9362c2c1bd

View File

@ -56,6 +56,10 @@ namespace AsbCloudInfrastructure
{
public static void MapsterSetup()
{
TypeAdapterConfig.GlobalSettings.Default.Config
.ForType<ScheduleDto, Schedule>()
.Ignore(source => source.Driller);
TypeAdapterConfig.GlobalSettings.Default.Config
.ForType<DateTimeOffset, DateTime>()
.MapWith((source) => source.DateTime);