Torma Kristóf
8347b10401
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
464 B
C#
16 lines
464 B
C#
using AutoMapper;
|
|
using HanyadikHetVan.Data.Entities;
|
|
using HanyadikHetVan.DTO;
|
|
|
|
namespace HanyadikHetVan.Profiles
|
|
{
|
|
public class PurseProfile : Profile
|
|
{
|
|
public PurseProfile()
|
|
{
|
|
CreateMap<Purse, PurseDTO>();
|
|
CreateMap<PurseDTO, Purse>().ForMember(x => x.User, options => options.Ignore()).ForMember(x => x.UserId, options => options.Ignore()).ForMember(x => x.Id, options => options.Ignore());
|
|
}
|
|
}
|
|
}
|