public JsonResult GetCountClass() { DashboardController obj = new DashboardController(); Int64 objTransport = obj.GetCountClass(); return(Json(objTransport, JsonRequestBehavior.AllowGet)); }