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