public void ChangeCustomer(Customer customer, string id) { customer.Id = Convert.ToInt32(id); api.EditCustomer(customer); }
public void ChangeCustomer(Customer customer) { api.EditCustomer(customer); }