BlogEngine.Core.Providers.BlogProvider.DeleteCategory C# (CSharp) Method

DeleteCategory() public abstract method

Deletes a Category from the data store specified by the provider.
public abstract DeleteCategory ( Category category ) : void
category Category /// The category to delete. ///
return void
        public abstract void DeleteCategory(Category category);

Usage Example

Example #1
0
 /// <summary>
 /// Deletes the specified Category from the current provider.
 /// </summary>
 public static void DeleteCategory(Category category)
 {
     LoadProviders();
     _provider.DeleteCategory(category);
 }