Sitecore.Modules.WeBlog.MetaBlogApi.GetBlog C# (CSharp) Method

GetBlog() protected method

Gets the blog given by the provided ID
protected GetBlog ( string blogId ) : BlogHomeItem
blogId string The ID of the blog to get
return Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem
        protected virtual BlogHomeItem GetBlog(string blogId)
        {
            var db = GetContentDatabase();
            return db.GetItem(blogId);
        }