public string SearchProducts(string name, string category, string keyword, double startPrice, double endPrice, int productRank, int storeRank) { List <Product> ret; try { ret = StoreService.SearchProducts(name, category, keyword, startPrice, endPrice, productRank, storeRank); return(objDynamicJson(ret)); } catch (Exception e) { return(generateMessageFormatJason(e.Message)); } }
public List <Product> SearchProducts(string name, string category, string keyword, double startPrice, double endPrice, int productRank, int storeRank) { return(StoreService.SearchProducts(name, category, keyword, startPrice, endPrice, productRank, storeRank)); }