Пример #1
0
 /// <summary>
 /// Add a list of users to a group
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// </param>
 /// <param name='users'>
 /// The list of users to add to the group
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task AddUsersToGroupAsync(this IGroups operations, int groupId, IList <int?> users, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.AddUsersToGroupWithHttpMessagesAsync(groupId, users, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }