public ActionResult Delete(int id, Account account) { try { _accountQueries.Delete(account); return(RedirectToAction("Index")); } catch (Exception) { return(View()); } }