public void UpdateCustomerOrderHistory(CustomerOrderHistory customerOrderHistory2BUpdated, CustomerOrderHistory updatedDetails) { customerOrderHistory2BUpdated.LocId = updatedDetails.LocId; customerOrderHistory2BUpdated.CustId = updatedDetails.CustId; customerOrderHistory2BUpdated.OrderDate = updatedDetails.OrderDate; customerOrderHistory2BUpdated.OrderId = updatedDetails.OrderId; customerOrderHistory2BUpdated.Total = updatedDetails.Total; _repo.UpdateCustomerOrderHistory(customerOrderHistory2BUpdated); }
public CustomerOrderHistory UpdateCustomerOrderHistory(CustomerOrderHistory customerOrderHistory2BUpdated) { return(_repo.UpdateCustomerOrderHistory(customerOrderHistory2BUpdated)); }