Изменен JobMinResponse
This commit is contained in:
@@ -16,7 +16,10 @@ namespace PARR.API.MappingProfiles
|
||||
|
||||
CreateMap<Job, JobGetAllResponse>();
|
||||
|
||||
CreateMap<Job, JobMinResponse>()
|
||||
CreateMap<List<Job>, JobMinResponse>()
|
||||
.ForMember(d => d.Scheduled, o => o.MapFrom(s => s));
|
||||
|
||||
CreateMap<Job, JobMinScheduleResponse>()
|
||||
.ForMember(d => d.Script, o => o.MapFrom(s => s.ScriptName));
|
||||
// === Job ===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user