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