Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

PatternMappingProfile.cs 642B

12345678910111213141516171819202122232425
  1. using Diligent.WebAPI.Contracts.DTOs.Pattern;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Diligent.WebAPI.Business.MappingProfiles
  8. {
  9. [ExcludeFromCodeCoverage]
  10. public class PatternMappingProfile : Profile
  11. {
  12. public PatternMappingProfile()
  13. {
  14. #region DTO to Model
  15. CreateMap<PatternCreateDto, Pattern>();
  16. CreateMap<PatternUpdateDto, Pattern>();
  17. #endregion
  18. #region Model to DTO
  19. CreateMap<Pattern, PatternResponseDto>();
  20. #endregion
  21. }
  22. }
  23. }