feat(api): paginationQuery добавлен параметр отключения пагинации. Контроллер ApplicationInWorks GetAll.
This commit is contained in:
@@ -173,10 +173,9 @@ namespace PARR.API.MappingProfiles
|
||||
CreateMap<AgentHistoryLevel, AgentHistoryLevelResponse>();
|
||||
|
||||
CreateMap<AgentHistory, AgentHistoryResponse>()
|
||||
.ForMember(t => t.Date, o => o.MapFrom(s => s.DateCreated))
|
||||
.ForMember(t => t.Level, o => o.MapFrom(s => s.AgentHistoryLevel))
|
||||
.ForMember(t => t.TemplateName, o => o.MapFrom(s => s.Template!.Name));
|
||||
|
||||
.ForMember(d => d.Date, o => o.MapFrom(s => s.DateCreated))
|
||||
.ForMember(d => d.Level, o => o.MapFrom(s => s.AgentHistoryLevel))
|
||||
.ForMember(d => d.TemplateName, o => o.MapFrom(s => s.Template!.Name));
|
||||
|
||||
|
||||
#region User
|
||||
@@ -208,6 +207,10 @@ namespace PARR.API.MappingProfiles
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
CreateMap<ApplicationsInWork, ApplicationInWorkResponse>()
|
||||
.ForMember(d => d.Work, o => o.MapFrom(s => s.Work))
|
||||
.ForMember(d => d.Application, o => o.MapFrom(s => s.Application));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user