Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

NotificationMappingProfile.cs 464B

123456789101112131415161718
  1. using AutoMapper;
  2. using Diligent.WebAPI.Data.Entities;
  3. using Diligent.WebAPI.Host.DTOs.Notification;
  4. using System.Diagnostics.CodeAnalysis;
  5. namespace Diligent.WebAPI.Host.Mapper
  6. {
  7. [ExcludeFromCodeCoverage]
  8. public class NotificationMappingProfile : Profile
  9. {
  10. public NotificationMappingProfile()
  11. {
  12. #region Models to DTOs
  13. CreateMap<Notification, NotificationReadDTO>();
  14. #endregion
  15. }
  16. }
  17. }