Exemplo n.º 1
0
        public static IEnumerable <Content> GetContents(string category, out int total, bool includeSubCategories = false, int pi = 0, int ps = 20)
        {
            var query = ContentProvider.GetContents(CurrentSite.SiteId, category, out total, includeSubCategories, true, null, null, null, pi, ps);

            return(query.ToArray());
        }