Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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