Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _customerFacade.DeleteCustomer(id);

            return(RedirectToAction("Index", "Home"));
        }
Ejemplo n.º 2
0
 public CustomerResponseDto DeleteCustomer(CustomerDto request) =>
 _customerFacade.DeleteCustomer(request);