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