public JsonResult SearchRuntimeFor(string partialName) { var searchResults = new RuntimeSearchResults(); searchResults.VariableNames = new string[] { "One", "Two", "Three" }; searchResults.GlobalNames = new string[] { "Six", "Seven", "Eight" }; return Json(searchResults, JsonRequestBehavior.AllowGet); }
public JsonResult SearchRuntimeFor(string partialName) { var searchResults = new RuntimeSearchResults(); searchResults.VariableNames = new string[] { "One", "Two", "Three" }; searchResults.GlobalNames = new string[] { "Six", "Seven", "Eight" }; return(Json(searchResults, JsonRequestBehavior.AllowGet)); }