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 568B

1234567891011121314151617181920
  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. #endregion
  12. #region DTOs to Models
  13. CreateMap<ApplicantCreateDto, Applicant>();
  14. CreateMap<ApplicantUpdateDto, Applicant>();
  15. #endregion
  16. }
  17. }
  18. }