Пример #1
0
        public IEnumerable <ArchiveDto> SearchArchivesByCategory(int siteId, String catPath, string keyword, int pageSize,
                                                                 int pageIndex, out int records, out int pages,
                                                                 string orderBy)
        {
            IContentContainer      content  = this._contentRep.GetContent(siteId);
            IEnumerable <IArchive> archives = content.SearchArchivesByCategory(
                catPath, keyword, pageSize,
                pageIndex, out records, out pages, orderBy);

            return(this.GetArchiveEnumertor(archives));
        }