feat(PControlsUpdate): add mapping profile for dto
This commit is contained in:
parent
f54329ecd3
commit
66fe515518
@ -31,5 +31,7 @@ public class MappingProfile : AutoMapper.Profile
|
||||
CreateMap<TfFile, TfFileDto>()
|
||||
.ForMember(dest => dest.Url, opt => opt.MapFrom<TfFileUriResolver>())
|
||||
.ForMember(dest => dest.IconUrl, opt => opt.MapFrom<TfFileIconUriResolver>());
|
||||
|
||||
CreateMap<PControlsUpdate, PControlsUpdateDto>();
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user