public ActionResult Change(string opatient_ID, string patient_ID, string patient_name, int patient_age, string patient_sex, string patient_ward) { PatientService pa = new PatientService(); var res = pa.Change(opatient_ID, patient_ID, patient_name, patient_age, patient_sex, patient_ward); //return RedirectToAction(nameof(Index)); return(Json(res)); }