public ActionResult _Search(string text) { var result = ExampleRepository.Filter(text); return(new JsonResult { Data = new SelectList(result, "Url", "Text") }); }