feat(all): преметры espp Api принимают дату utc. В подробном описании шаблона возвращается префикс.

This commit is contained in:
Mikhail Trubnikov
2023-10-24 15:40:52 +10:00
parent 59db8fa312
commit fbeabeb165
12 changed files with 98 additions and 68 deletions

View File

@@ -77,6 +77,7 @@ namespace PARR.API.MappingProfiles
CreateMap<RobotConfiguration, RobotTaskTemplateResponse>()
.ForMember(d => d.IsActive, o => o.MapFrom(s => s.Template!.IsActiveTemplate))
.ForMember(d => d.ClosingCode, o => o.MapFrom<RobotTaskTemplateClosingCodeResolver>())
//todo
.ForMember(d => d.FullDescription, o => o.MapFrom(s => s.Template!.ApplicationsInWork!.FullDescription))
.ForMember(d => d.ShortDescription, o => o.MapFrom(s => s.Template!.ApplicationsInWork!.ShortDescription))
.ForMember(d => d.Solution, o => o.MapFrom(s => s.Template!.ApplicationsInWork!.Solution))