public static Task DropBucketAsync(this IBucketManager bucketManager, string bucketName, Action <DropBucketOptions> configureOptions) { var options = new DropBucketOptions(); configureOptions(options); return(bucketManager.DropBucketAsync(bucketName, options)); }
public static Task DropBucketAsync(this IBucketManager bucketManager, string bucketName) { return(bucketManager.DropBucketAsync(bucketName, DropBucketOptions.Default)); }