public async Task <IActionResult> Delete(string id)
        {
            await _customerManagementAPI.DeleteCustomer(id);

            return(RedirectToAction("Index"));
        }
示例#2
0
 public async Task <List <Customer> > DeleteCustomer(string customerId)
 {
     return(await _client.DeleteCustomer(customerId));
 }