feat(api): AgentTask, AgentHistory
This commit is contained in:
@@ -142,6 +142,12 @@ namespace PARR.API.MappingProfiles
|
||||
.ForMember(d => d.Type, o => o.MapFrom(s => s.Type));
|
||||
// === EsppSch ===
|
||||
|
||||
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));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user