retroactiune/Retroactiune.WebAPI/MappingProfile.cs

17 lines
473 B
C#
Raw Normal View History

using AutoMapper;
using Retroactiune.Core.Entities;
using Retroactiune.Core.Services;
2021-06-09 21:03:07 +00:00
using Retroactiune.DataTransferObjects;
namespace Retroactiune
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<ListTokensFiltersDto, TokenListFilters>();
CreateMap<FeedbackReceiver, FeedbackReceiverInDto>().ReverseMap();
CreateMap<FeedbackReceiver, FeedbackReceiverOutDto>();
}
}
}