Пример #1
0
 public async Task <Models.Business.Members> GetMembersAsync(int limit = 1000, string cursor = null)
 {
     return(await _requestExecuter.Execute <Models.Business.Members>(() => _requestGenerator.GetMembers(limit, cursor)).ConfigureAwait(false));
 }
Пример #2
0
 public async Task <Models.Business.Members> GetMembersAsync(int limit = 1000, string cursor = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(await _requestExecuter.Execute <Models.Business.Members>(() => _requestGenerator.GetMembers(limit, cursor), cancellationToken : cancellationToken).ConfigureAwait(false));
 }