Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

NotificationMappingProfile.cs 395B

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