You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }