Lejönnek a CheckPointhoz tartozó sorok

This commit is contained in:
2025-03-10 09:32:39 +01:00
parent af607f6079
commit 943e2a716d
9 changed files with 75 additions and 14 deletions
@@ -13,7 +13,7 @@ namespace WorkFlowCheck.MAUI.Mapper
{
public MapperProfile()
{
CreateMap<CheckPoint, CheckPointDTO>();
CreateMap<CheckPoint, CheckPointDTO>().ForMember(dest => dest.CheckListTemplateRowDTO, opt => opt.MapFrom(src => src.CheckListTemplateRows));
CreateMap<CheckPointDTO, CheckPoint>();
CreateMap<CheckListTemplateHeaderDTO, CheckListTemplateHeader>()