示例#1
0
        public ActionResult DeleteConfirmed(int id)
        {
            //PatientViewModel patientViewModel = db.PatientViewModels.Find(id);
            //db.PatientViewModels.Remove(patientViewModel);
            //db.SaveChanges();
            PatientRepo.RemovePatient(id);

            return(RedirectToAction("Index"));
        }