Exemplo n.º 1
0
 public ActionResult Delete(int id)
 {
     try
     {
         // TODO: Add delete logic here
         AccountBAL balObject = new AccountBAL();
         balObject.Delete(id);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }