public JsonResult GetSuggest(string keyWord) { using (var client = new ProductSearchClient()) { var result = client.SearchSuggest(keyWord); if (result.Success) { return(Json(result.Result.Keys.ToList(), JsonRequestBehavior.AllowGet)); } } return(Json("", JsonRequestBehavior.AllowGet)); }