public JsonResult GetActiveSession() { SchoolController obj = new SchoolController(); var activeSession = obj.GetCurrentSession(); var result = Json(activeSession, JsonRequestBehavior.AllowGet); return(result); }
public JsonResult GetActiveSession() { SchoolController obj = new SchoolController(); var activeSession = obj.GetCurrentSession(); var result = Json(activeSession, JsonRequestBehavior.AllowGet); return(result); }