示例#1
0
        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
            });
        }
示例#2
0
        public JsonResult GetTestName(string prefix)
        {
            BL_MISLabWiseCollectionReport BlReport = new BL_MISLabWiseCollectionReport();

            return(new JsonResult {
                Data = BlReport.GetTestName(prefix), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }