public async Task <int?> GetProductCount() { var result = await _client.GetProductsAsync(); return(result.Data?.Products?.TotalCount); }
public async Task <List <ICatalogProductDto> > GetProducts() { var result = await _client.GetProductsAsync(1, 5000); return(result.Data.Products.ToList()); }