Esempio n. 1
0
 public JsonResult AutoCompleteProduct(string searchText, int maxResults)
 {
     var products = new AutoComplete();
     var result = products.AutoCompleteProduct(searchText, maxResults);
     return Json(result);
 }
Esempio n. 2
0
 public JsonResult AutoCompleteBrand(string searchText, int maxResults)
 {
     var brands = new AutoComplete();
     var result = brands.AutoCompleteBrand(searchText, maxResults);
     return Json(result);
 }