forked from sanchezvem/pyrofetes-backend
Added missing mappings profiles
This commit is contained in:
@@ -81,8 +81,6 @@ public class DtoToEntityMappings : Profile
|
||||
CreateMap<PatchUserPasswordDto, User>()
|
||||
.ForMember(dest => dest.Id, opt => opt.Ignore());
|
||||
|
||||
CreateMap<PatchWareHouseProductQuantityDto, WarehouseProduct>()
|
||||
.ForMember(dest => dest.ProductId, opt => opt.Ignore())
|
||||
.ForMember(dest => dest.WarehouseId, opt => opt.Ignore());
|
||||
CreateMap<PatchWareHouseProductQuantityDto, WarehouseProduct>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user