Torma Kristóf
10c1bb008f
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
496 B
C#
16 lines
496 B
C#
using AutoMapper;
|
|
using HanyadikHetVan.Data.Entities;
|
|
using HanyadikHetVan.DTO;
|
|
|
|
namespace HanyadikHetVan.Profiles
|
|
{
|
|
public class FunFactProfile : Profile
|
|
{
|
|
public FunFactProfile()
|
|
{
|
|
CreateMap<FunFact, FunFactDTO>();
|
|
CreateMap<FunFactDTO, FunFact>().ForMember(x => x.Id, options => options.Ignore()).ForMember(x => x.WeeklyTimeSpanId, options => options.Ignore()).ForMember(x => x.WeeklyTimeSpan, options => options.Ignore());
|
|
}
|
|
}
|
|
}
|