retroactiune/Retroactiune.WebAPI/MappingProfile.cs

17 lines
No EOL
473 B
C#

using AutoMapper;
using Retroactiune.Core.Entities;
using Retroactiune.Core.Services;
using Retroactiune.DataTransferObjects;
namespace Retroactiune
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<ListTokensFiltersDto, TokenListFilters>();
CreateMap<FeedbackReceiver, FeedbackReceiverInDto>().ReverseMap();
CreateMap<FeedbackReceiver, FeedbackReceiverOutDto>();
}
}
}