final
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-05-20 01:36:54 +02:00
parent beab15a7ef
commit 10c1bb008f
19 changed files with 1632 additions and 19 deletions

View File

@ -9,7 +9,7 @@ namespace HanyadikHetVan.Profiles
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.Id, options => options.Ignore());
CreateMap<FunFactDTO, FunFact>().ForMember(x => x.Id, options => options.Ignore()).ForMember(x => x.WeeklyTimeSpanId, options => options.Ignore()).ForMember(x => x.WeeklyTimeSpan, options => options.Ignore());
}
}
}