選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

RequestMappingProfile.cs 469B

1234567891011121314151617
  1. using AutoMapper;
  2. using Diligent.WebAPI.Data.Entities;
  3. using Diligent.WebAPI.Host.DTOs.Customer;
  4. using Diligent.WebAPI.Host.DTOs.Request;
  5. namespace Diligent.WebAPI.Host.Mapper
  6. {
  7. public class RequestMappingProfile : Profile
  8. {
  9. public RequestMappingProfile()
  10. {
  11. CreateMap<RequestCreateDTO, Request>();
  12. CreateMap<Room, RequestRoomReadDTO>();
  13. CreateMap<Request, CustomerRequestRoomReadDTO>();
  14. }
  15. }
  16. }