feat(api): управление job auto control из api
This commit is contained in:
@@ -13,6 +13,7 @@ namespace PARR.API.MappingProfiles
|
||||
CreateMap<PaginationQuery, PaginationFilter>();
|
||||
|
||||
#region Job
|
||||
|
||||
CreateMap<JobRequest, Job>()
|
||||
.ForMember(d => d.Id, o => o.MapFrom(s => Guid.NewGuid()))
|
||||
.ForMember(d => d.DateCreated, o => o.MapFrom(s => DateTimeOffset.UtcNow))
|
||||
@@ -42,6 +43,7 @@ namespace PARR.API.MappingProfiles
|
||||
.ForMember(d => d.DateCreated, o => o.MapFrom(s => DateTimeOffset.UtcNow));
|
||||
|
||||
CreateMap<RelationshipFilterRequest, JobRelationshipFilter>();
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user