public ActionResult DeleteRec(int id) { MyDAL.DeleteStudentByID(id); return(RedirectToAction("Index")); }