public JsonResult GetRepairPeopleList() { IEnumerable <SelectListItem> list = rp.GetDeptRepairList(xxid).Select(p => new SelectListItem() { Text = p.XM, Value = p.DriverID.ToString() }); return(Json(list, JsonRequestBehavior.AllowGet)); }