public static Task DropCollectionAsync(this ICollectionManager manager, CollectionSpec spec, Action <DropCollectionOptions> configureOptions) { var options = new DropCollectionOptions(); configureOptions(options); return(manager.DropCollectionAsync(spec, options)); }
public static Task DropCollectionAsync(this ICollectionManager manager, CollectionSpec spec) { return(manager.DropCollectionAsync(spec, DropCollectionOptions.Default)); }