feat(api): в HostResponse добавлен объект EkStatus
This commit is contained in:
@@ -87,6 +87,7 @@ namespace PARR.API.MappingProfiles
|
||||
.Include<DAL.Models.Host, HostTemplateResponse>()
|
||||
.Include<DAL.Models.Host, HostWithApplicationsResponse>()
|
||||
.ForMember(d => d.Status, o => o.MapFrom(s => s.EkStatus!.Name))
|
||||
.ForMember(d => d.EkStatus, o => o.MapFrom(s => s.EkStatus))
|
||||
.ForMember(d => d.ResponseArea, o => o.MapFrom(s => s.ResponseArea!.Name))
|
||||
.ForMember(d => d.WorkGroupName, o => o.MapFrom(s => s.WorkGroup!.Name))
|
||||
.ForMember(d => d.WorkGroup, o => o.MapFrom(s => s.WorkGroup))
|
||||
|
||||
Reference in New Issue
Block a user