retroactiune/Retroactiune.WebAPI/MappingProfile.cs

15 lines
367 B
C#
Raw Normal View History

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