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

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