Migliorati form Cliente e PersonaRif
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user