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