You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TagMappingProfile.cs 582B

123456789101112131415161718192021222324
  1. using Diligent.WebAPI.Contracts.DTOs.Categories;
  2. using Diligent.WebAPI.Contracts.DTOs.Tags;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Diligent.WebAPI.Business.MappingProfiles
  9. {
  10. public class TagMappingProfile : Profile
  11. {
  12. public TagMappingProfile()
  13. {
  14. #region DTO to Model
  15. CreateMap<Tag, TagResponse>();
  16. CreateMap<Tag, TagNameResponse>();
  17. #endregion
  18. #region Model to DTO
  19. #endregion
  20. }
  21. }
  22. }