Example #1
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);
 }
Example #2
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);
 }
Example #3
0
 public ActionResult RefreshTestPatients()
 {
     TestPatient tp = new TestPatient();
     tp = _applicationContext.ServiceContext.AppointmentService.LoadCreateTestPatients();
     return PartialView("_DeleteTestPatientGrid", tp);
 }