public async Task <IActionResult> Delete(string id) { await _customerManagementAPI.DeleteCustomer(id); return(RedirectToAction("Index")); }
public async Task <List <Customer> > DeleteCustomer(string customerId) { return(await _client.DeleteCustomer(customerId)); }