예제 #1
0
        public void WhenIRequestProducts()
        {
            var response = ProductControllerHelper.GetProducts();

            ApiResultTable.Instance.AddResult("getproducts", response);
        }
예제 #2
0
        public void WhenIRequestProductsFromPage(int pageSize, int pageIndex)
        {
            var response = ProductControllerHelper.GetProducts(pageSize, pageIndex);

            ApiResultTable.Instance.AddResult("getproducts", response);
        }