Migliorati form Cliente e PersonaRif

This commit is contained in:
2025-07-16 17:24:41 +02:00
parent 8c521dc81e
commit b2064ad71e
14 changed files with 381 additions and 94 deletions

View File

@@ -19,5 +19,13 @@ public class MappingProfile : Profile
CreateMap<PtbPros, ContactDTO>()
.ForMember(dest => dest.CodContact, opt => opt.MapFrom(src => src.CodPpro))
.ForMember(dest => dest.IsContact, opt => opt.MapFrom(src => false));
//Mapping da VtbCliePersRif a PersRifDTO
CreateMap<VtbCliePersRif, PersRifDTO>()
.ForMember(x => x.CodPersRif, y => y.MapFrom(z => z.CodAnag));
//Mapping da PtbProsRif a PersRifDTO
CreateMap<PtbProsRif, PersRifDTO>()
.ForMember(x => x.CodPersRif, y => y.MapFrom(z => z.CodPpro));
}
}