Exemplo n.º 1
0
        /// <summary>
        /// Gets the most popular entries for the blog by the number of comments on the entry.
        /// </summary>
        /// <param name="blogItem">The blog to find the most popular pages for.</param>
        /// <param name="maxCount">The maximum number of entries to return.</param>
        /// <returns>The <see cref="ItemUri"/> for the entry items.</returns>
        public virtual IList <ItemUri> GetPopularEntriesByComment(Item blogItem, int maxCount)
        {
            var uris = CommentManager.GetMostCommentedEntries(blogItem, maxCount);

            return(uris);
        }