// // GET: /Contractor/JList public JsonResult JList(string term = "") { List<ListItemModel> model = null; using (ContractorContext context = new ContractorContext()) { model = context.GetList(term); } return Json(model, JsonRequestBehavior.AllowGet); }