| 123456789101112131415161718192021222324 |
- 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
- {
- 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
- }
- }
- }
|