Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

SelectionProcessMappingProfile.cs 813B

1234567891011121314151617181920212223
  1. using Diligent.WebAPI.Contracts.DTOs.Schedule;
  2. using Diligent.WebAPI.Contracts.DTOs.SelectionProcess;
  3. namespace Diligent.WebAPI.Business.MappingProfiles
  4. {
  5. public class SelectionProcessMappingProfile : Profile
  6. {
  7. [ExcludeFromCodeCoverage]
  8. public SelectionProcessMappingProfile()
  9. {
  10. #region DTO to Model
  11. CreateMap<SelectionProcessCreateDto, SelectionProcess>();
  12. CreateMap<SelectionProcessUpdateStatusDto, SelectionProcess>();
  13. #endregion
  14. #region Model to DTO
  15. CreateMap<SelectionProcess, SelectionProcessResposneDto>();
  16. CreateMap<SelectionProcess, SelectionProcessResposneWithoutApplicantDto>();
  17. CreateMap<SelectionProcess, ScheduleViewDto>();
  18. #endregion
  19. }
  20. }
  21. }