public static Task DropDesignDocumentAsync(this IViewIndexManager viewManager, string designDocumentName, DesignDocumentNamespace @namespace, Action <DropDesignDocumentOptions> configureOptions) { var options = new DropDesignDocumentOptions(); configureOptions(options); return(viewManager.DropDesignDocumentAsync(designDocumentName, @namespace, options)); }
public static Task DropDesignDocumentAsync(this IViewIndexManager viewManager, string designDocumentName, DesignDocumentNamespace @namespace) { return(viewManager.DropDesignDocumentAsync(designDocumentName, @namespace, DropDesignDocumentOptions.Default)); }