public ActionResult ClientSearch(string term) { var results = svc.SearchClient(term); var model = results.Select(r => new { label = r.Email, value = r.Id }).ToList(); return(Json(model, JsonRequestBehavior.AllowGet)); }