public ActionResult GetDepartmentReport(DepartmentReportSearch search) { search.currentUserID = Common.CommonHelper.CurrentUser; DataTable dt = _reportAppService.GetDepartmentReport(search); string JSONresult = JsonConvert.SerializeObject(dt); return(Json(new { data = JSONresult }, JsonRequestBehavior.AllowGet)); }