Ejemplo n.º 1
0
        public ActionResult RefreshTestPatients()
        {
            TestPatient tp = new TestPatient();

            tp = _applicationContext.ServiceContext.AppointmentService.LoadCreateTestPatients();
            return(PartialView("_DeleteTestPatientGrid", tp));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }