예제 #1
0
 private async Task <ProductList> LoadProductsAsync(int categoryId, int pageNumber)
 {
     return(await _productQueries.GetList(categoryId, new PaginationArgs
     {
         IncludeDeleted = false,
         ItemsPerPage = 5,
         PageNumber = pageNumber
     }));
 }