/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> public static AzureOperationResponse DeleteTeamWithHttpMessages(this IAPIClient operations, System.Guid?id = default(System.Guid?), Dictionary <string, List <string> > customHeaders = null) { return(operations.DeleteTeamWithHttpMessagesAsync(id, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteTeamAsync(this IAPIClient operations, System.Guid?id = default(System.Guid?), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteTeamWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)).Dispose(); }