示例#1
0
        /// <summary>
        /// 获取所有已发布的案件
        /// </summary>
        /// <param name="page"></param>
        /// <param name="state"></param>
        /// <returns></returns>
        public List <dynamic> GetPieceByPageAndState(int page, CaseState state)
        {
            CaseList dbcase   = new CaseList();
            var      caselist = dbcase.GetPieceByPagesAndState(page, state).OrderByDescending(t => t.basic.numberOfComment.Count());

            return(_MainCaseList(caselist));
        }