public JsonResult AcademicHistory(int controlNumber) { StudentEngine = new StudentEngine(controlNumber.ToString()); var AH = StudentEngine.getAcademicHistory(); return(Json(AH)); }
public ActionResult AcademicHistory() { StudentEngine = new StudentEngine(Session["controlNumber"].ToString()); var AH = StudentEngine.getAcademicHistory(); return(View(AH)); }