예제 #1
0
        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));
        }