| 12345678910111213141516171819202122232425 |
- using Diligent.WebAPI.Contracts.DTOs.Applicant;
-
- namespace Diligent.WebAPI.Business.MappingProfiles
- {
- [ExcludeFromCodeCoverage]
- public class ApplicantMappingProfile:Profile
- {
- public ApplicantMappingProfile()
- {
- #region Models to DTOs
- CreateMap<Applicant, ApplicantViewDto>();
- CreateMap<Applicant, AdApplicantViewDto>();
- CreateMap<Applicant, ApplicantScheduleViewDto>();
- CreateMap<Applicant, PatternApplicantViewDto>();
- CreateMap<Applicant, ApplicantOptionsDTO>();
- #endregion
-
- #region DTOs to Models
- CreateMap<ApplicantCreateDto, Applicant>();
- CreateMap<ApplicantImportDto, Applicant>();
- CreateMap<ApplicantUpdateDto, Applicant>();
- #endregion
- }
- }
- }
|