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.

ApplicantMappingProfile.cs 748B

1234567891011121314151617181920212223
  1. using Diligent.WebAPI.Contracts.DTOs.Applicant;
  2. namespace Diligent.WebAPI.Business.MappingProfiles
  3. {
  4. public class ApplicantMappingProfile:Profile
  5. {
  6. public ApplicantMappingProfile()
  7. {
  8. #region Models to DTOs
  9. CreateMap<Applicant, ApplicantViewDto>();
  10. CreateMap<Applicant, AdApplicantViewDto>();
  11. CreateMap<Applicant, ApplicantScheduleViewDto>();
  12. CreateMap<Applicant, PatternApplicantViewDto>();
  13. CreateMap<Applicant, ApplicantOptionsDTO>();
  14. #endregion
  15. #region DTOs to Models
  16. CreateMap<ApplicantCreateDto, Applicant>();
  17. CreateMap<ApplicantUpdateDto, Applicant>();
  18. #endregion
  19. }
  20. }
  21. }