Пример #1
0
        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));
        }
Пример #2
0
 public static Task DropDesignDocumentAsync(this IViewIndexManager viewManager, string designDocumentName, DesignDocumentNamespace @namespace)
 {
     return(viewManager.DropDesignDocumentAsync(designDocumentName, @namespace, DropDesignDocumentOptions.Default));
 }