| 12345678910111213141516171819 |
- using Diligent.WebAPI.Contracts.DTOs.Comment;
-
- namespace Diligent.WebAPI.Business.MappingProfiles
- {
- public class CommentMappingProfile:Profile
- {
- [ExcludeFromCodeCoverage]
- public CommentMappingProfile()
- {
- #region Models to DTO
- CreateMap<Comment, CommentViewDto>();
- #endregion
-
- #region DTO to Model
- CreateMap<CommentCreateDto, Comment>();
- #endregion
- }
- }
- }
|