コード例 #1
0
 public JsonResult GetProductList(ProductSearchModel searchParams, int pageSize = 10, int pageIndex = 1,
                                  string sortIndex = "", string sortDirection = "")
 {
     _productDataProvider = new ProductDataProvider();
     ServiceResponse response = _productDataProvider.GetProductList(searchParams, pageSize, pageIndex, sortIndex,
                                                                    sortDirection);
     return Json(response);
 }