示例#1
0
        public ActionResult RefreshTestPatients()
        {
            TestPatient tp = new TestPatient();

            tp = _applicationContext.ServiceContext.AppointmentService.LoadCreateTestPatients();
            return(PartialView("_DeleteTestPatientGrid", tp));
        }
示例#2
0
        // GET: TestPatient
        public ActionResult TestPatients()
        {
            TestPatient tp = new TestPatient();

            tp = _applicationContext.ServiceContext.AppointmentService.LoadCreateTestPatients();
            tp.InitateTestPatients = new List <TestPatientAppointment>();
            ViewBag.TodaysDate     = DateTime.Now.ToString("MM/dd/yyyy");
            return(View(tp));
        }
示例#3
0
        public ActionResult ExcludeTestPatientsByapptids(string ids)
        {
            string[] stringOfapptids = ids.Split(',');
            int[]    apptids         = Array.ConvertAll(stringOfapptids, int.Parse);
            _applicationContext.ServiceContext.AppointmentService.ExcludeTestPatientsByapptids(apptids);
            TestPatient tp = new TestPatient();

            tp = _applicationContext.ServiceContext.AppointmentService.LoadCreateTestPatients();
            return(PartialView("_DeleteTestPatientGrid", tp));
        }