Example #1
0
 /// <summary>
 /// Gets a count of all of the shop's pages.
 /// </summary>
 public virtual async Task <int> CountAsync(PageCountFilter filter = null)
 {
     return(await ExecuteGetAsync <int>("pages/count.json", "count", filter));
 }
Example #2
0
 /// <summary>
 /// Gets a count of all of the shop's pages.
 /// </summary>
 public virtual async Task <int> CountAsync(PageCountFilter filter = null, CancellationToken cancellationToken = default)
 {
     return(await ExecuteGetAsync <int>("pages/count.json", "count", filter, cancellationToken));
 }