Example #1
0
        public ArchiveDto GetSameCategoryNextArchive(int siteId, int archiveId)
        {
            IContentContainer ic      = this._contentRep.GetContent(siteId);
            IArchive          archive = ic.GetNextSiblingArchive(archiveId);

            if (archive == null)
            {
                return(default(ArchiveDto));
            }
            return(ArchiveDto.ConvertFrom(archive, true, false, false));
        }