Example #1
0
        public IEnumerable <ArchiveDto> GetSpecialArchives(int siteId, string categoryTag, int number)
        {
            IContentContainer      content  = this._contentRep.GetContent(siteId);
            IEnumerable <IArchive> archives = content.GetSpecialArchives(categoryTag, number);

            return(this.GetArchiveEnumertor(archives));
        }
Example #2
0
        public ArchiveDto[] GetSpecialArchives(int siteId, string catPath, bool includeChild, int number, int skipSize)
        {
            IContentContainer      content  = this._contentRep.GetContent(siteId);
            IEnumerable <IArchive> archives = content.GetSpecialArchives(catPath, includeChild, number, skipSize);

            return(this.GetArchiveEnumertor(archives).ToArray());
        }
Example #3
0
        public IEnumerable <ArchiveDto> GetSpecialArchives(int siteId, int lft, int rgt, int number)
        {
            IContentContainer      content  = this._contentRep.GetContent(siteId);
            IEnumerable <IArchive> archives = content.GetSpecialArchives(lft, rgt, number);

            return(this.GetArchiveEnumertor(archives));
        }
Example #4
0
        public ArchiveDto[] GetSpecialArchives(int siteId, int lft, int rgt, int number, int skipSize)
        {
            IContentContainer      content  = this._contentRep.GetContent(siteId);
            IEnumerable <IArchive> archives = content.GetSpecialArchives(lft, rgt, number, skipSize);

            return(this.GetArchiveEnumertor(archives).ToArray());
        }