public ActionResult Edit(int id) { var result = MyDAL.GetStudentByID(id); return(View("Edit", result)); }
public ActionResult Delete(int id) { var result = MyDAL.GetStudentByID(id); return(View("Delete", result)); }
public ActionResult Delete(int id) { var stdObj = MyDAL.GetStudentByID(id); return(View(stdObj)); }