public ActionResult DeleteDoctor(int doctorId)
        {
            Doctor selectedDoctor = Doctor.Find(doctorId);

            selectedDoctor.DeleteDoc(doctorId);
            Dictionary <string, object> model = new Dictionary <string, object>();
            List <Patient> doctorPatients     = selectedDoctor.GetPatients();

            model.Add("doctor", selectedDoctor);
            return(RedirectToAction("Index", "Doctors"));

            //
            // Patient patient = Patient.Find(patientId);
            // patient.Delete();
            // Dictionary<string, object> model = new Dictionary<string, object>();
            // Doctor foundDoctor = Doctor.Find(doctorId);
            // List<Patient> doctorPatients = foundDoctor.GetPatients();
            // model.Add("patient", doctorPatients);
            // model.Add("doctor", foundDoctor);
            // // return View(model);
            // return RedirectToAction("Show", "Doctors");
            // //return RedirectToAction("actionName", "controllerName"); goes to a cshtml page in a different controller.
        }