public dynamic Update(T entity) { InventoryService.Customer customer = AutoMap.ConvertTo <InventoryService.Customer, Models.Customer>(entity as Models.Customer); var response = client.UpdateCustomerAsync(customer.Id, customer); return(response.Result); }
public System.Threading.Tasks.Task <string> UpdateCustomerAsync(int id, InventoryService.Customer customer) { return(base.Channel.UpdateCustomerAsync(id, customer)); }
public System.Threading.Tasks.Task <string> AddCustomerAsync(InventoryService.Customer customer) { return(base.Channel.AddCustomerAsync(customer)); }