Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ApplicantMappingProfile.cs 630B

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