Пример #1
0
 /// <summary>
 /// Gets a count of all of the shop's products.
 /// </summary>
 /// <returns>The count of all products for the shop.</returns>
 public virtual async Task <int> CountAsync(ProductCountFilter filter = null, CancellationToken cancellationToken = default)
 {
     return(await ExecuteGetAsync <int>("products/count.json", "count", filter, cancellationToken));
 }
Пример #2
0
 /// <summary>
 /// Gets a count of all of the shop's products.
 /// </summary>
 /// <returns>The count of all products for the shop.</returns>
 public virtual async Task <int> CountAsync(ProductCountFilter filter = null)
 {
     return(await ExecuteGetAsync <int>("products/count.json", "count", filter));
 }