Exemplo n.º 1
0
        /// <summary>
        ///查询吐槽内容列表
        /// </summary>
        public ExperterCommentsCollection QueryExperterCommentsByTime(string currentTime, CommentsTpye commentsTpye, string id, int length)
        {
            ExperterCommentsCollection result = new ExperterCommentsCollection();

            result.List.AddRange(new ExperterCommentsManager().QueryExperterCommentsByTime(currentTime, commentsTpye, id, length));
            return(result);
        }
Exemplo n.º 2
0
        /// <summary>
        ///查询未处理吐槽内容列表
        /// </summary>
        public ExperterCommentsCollection QueryExperterNoneComments(CommentsTpye?commentsTpye, int pageIndex, int pageSize)
        {
            var result     = new ExperterCommentsCollection();
            var totalCount = 0;

            result.List.AddRange(new ExperterCommentsManager().QueryExperterNoneComments(commentsTpye, pageIndex, pageSize, out totalCount));
            result.TotalCount = totalCount;
            return(result);
        }