public IActionResult DeleteConfirmed(int id) { BankFactory.DeleteAccount(id); return(RedirectToAction(nameof(Index))); }