public ActionResult MISLabWiseCollectionReportDgv1(string DateFrom, string DateTo, string TestID, string CategoryID, string PatientType) { BL_MISLabWiseCollectionReport BlReport1 = new BL_MISLabWiseCollectionReport(); HospitlLocationID(); //DateFrom = Request.Form["Fromdate"]; //DateTo =Request.Form["Todate"]; if ((TestID == "") || (TestID == "null") || (TestID == null)) { TestID = "%"; } if ((CategoryID == "") || (CategoryID == "null") || (CategoryID == null)) { CategoryID = "%"; } if ((PatientType == "") || (PatientType == "All")) { PatientType = "ALL"; } if ((PatientType == "%")) { PatientType = "ALL"; } return(new JsonResult { Data = BlReport1.MISLabWiseCollectionReportDgv1(HospitalID, LocationID, Convert.ToDateTime(DateFrom), Convert.ToDateTime(DateTo), TestID, CategoryID, PatientType), JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }
public JsonResult GetTestName(string prefix) { BL_MISLabWiseCollectionReport BlReport = new BL_MISLabWiseCollectionReport(); return(new JsonResult { Data = BlReport.GetTestName(prefix), JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }