public ActionResult DeassociatePhysician(int recid, int patientId) { _patientRepo.RemovePatientPhysician(recid); //Get list of saved patients for the current patient. and return this list to the patient detail page via ajax. ViewBag.PPhysicians = _patientRepo.GetPatientPhysicians(patientId); return(PartialView("_PartialPhysicians")); //return "response done"; }