|
12345678910111213141516171819202122232425 |
- using Diligent.WebAPI.Contracts.DTOs.Pattern;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace Diligent.WebAPI.Business.MappingProfiles
- {
- [ExcludeFromCodeCoverage]
- public class PatternMappingProfile : Profile
- {
- public PatternMappingProfile()
- {
- #region DTO to Model
- CreateMap<PatternCreateDto, Pattern>();
- CreateMap<PatternUpdateDto, Pattern>();
- #endregion
-
- #region Model to DTO
- CreateMap<Pattern, PatternResponseDto>();
- #endregion
- }
- }
- }
|