public ForumCategoryModel DeleteAllTopicsInCategory(ForumCategoryModel forumCategory)
 {
     if (forumCategory.Topics.Any())
     {
         foreach (TopicModel topic in forumCategory.Topics.ToList())
         {
             DeleteTopic(topic);
         }
     }
     return(forumCategory);
 }
 public void DeleteForumCategory(ForumCategoryModel forumCategory)
 {
     forumCategory = DeleteAllTopicsInCategory(forumCategory);
     this.ForumCategories.Remove(forumCategory);
 }