Ejemplo n.º 1
0
 public ActionResult Delete(int id)
 {
     try
     {
         mobileBL.DeleteMobile(id);
         return(RedirectToAction("Display"));
     }
     catch
     {
         return(RedirectToAction("Error", "Error"));
     }
 }