private static void CreateWelcomeCategories(ObjectProvider repository, Blog blog)
{
repository.CreateLinkCategory(new LinkCategory
{
Title = "Programming",
Description = "Blog posts related to programming",
BlogId = blog.Id,
IsActive = true,
CategoryType = CategoryType.PostCollection,
});
repository.CreateLinkCategory(new LinkCategory
{
Title = "Personal",
Description = "Personal musings, random thoughts.",
BlogId = blog.Id,
IsActive = true,
CategoryType = CategoryType.PostCollection
});
}