public ActionResult auto(string Prefix) { var symptom = _mainManager.symptom(Prefix).ToList(); foreach (Symptom sym in symptom) { _ajax.Add(sym.IllnessSymptoms); } return(Json(_ajax, JsonRequestBehavior.AllowGet)); }