Добавлен справочник ResponseArea
This commit is contained in:
@@ -75,7 +75,8 @@ namespace PARR.API.MappingProfiles
|
||||
CreateMap<Application, ApplicationResponse>();
|
||||
|
||||
CreateMap<DAL.Models.Host, HostResponse>()
|
||||
.ForMember(d => d.Status, o => o.MapFrom(s => s.EkStatus!.Name));
|
||||
.ForMember(d => d.Status, o => o.MapFrom(s => s.EkStatus!.Name))
|
||||
.ForMember(d => d.ResponseArea, o => o.MapFrom(s => s.ResponseArea!.Name));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user