Beispiel #1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            var customer = await customerBusiness.getCustomerById(id);

            await customerBusiness.DeleteByCustomer(customer);

            return(RedirectToAction(nameof(Index)));
        }