Esempio n. 1
0
        public JsonResult DataUploadHistory(string JobID)
        {
            PartialViewLoader    objPartialViewLoader = new PartialViewLoader();
            List <QuestionPaper> lstCallHistory       = new DJ_BAL.DreamJobsBAL().GetUploadedQuestionPapers(string.IsNullOrEmpty(JobID) ? 0 : Convert.ToInt32(JobID));

            objPartialViewLoader.strPartialView = RenderPartialToStringExtensions.RenderPartialToString(this.ControllerContext, "_PartialDataUploadHistoryReportData", lstCallHistory);

            return(Json(objPartialViewLoader, JsonRequestBehavior.AllowGet));
            //return PartialView("_PartialCallHistoryReport");
        }
Esempio n. 2
0
        public JsonResult ExamSummary(string JobID, string DateFrom, string DateTo)
        {
            PartialViewLoader objPartialViewLoader = new PartialViewLoader();
            DataSet           ds = new DJ_BAL.DreamJobsBAL().GetExamSummary(string.IsNullOrEmpty(JobID) ? "0" : JobID, DateFrom, DateTo);

            if (ds.Tables.Count > 0)
            {
                objPartialViewLoader.strPartialView = RenderPartialToStringExtensions.RenderPartialToString(this.ControllerContext, "_PartialExamSummaryData", ds.Tables[0]);
            }
            return(Json(objPartialViewLoader, JsonRequestBehavior.AllowGet));
            //return PartialView("_PartialCallHistoryReport");
        }