示例#1
0
        public void ListPageAcademicYear_Test()
        {
            AcademicYearInputModel testModel = null;
            BaseResultModel <PageModel <AcademicYearOutputModel> > result = AcademicYearService.ListPageAcademicYear(testModel);

            Assert.IsTrue(result.IsSuccess && result.Data.DataCount > 0, result.ErrorMessage);

            testModel = new AcademicYearInputModel()
            {
                PageNO           = 1,
                PageSize         = 2,
                AcademicYearName = "测试AcademicYearName"
            };
            result = AcademicYearService.ListPageAcademicYear(testModel);
            Assert.IsTrue(result.IsSuccess, result.ErrorMessage);
        }
 /// <summary>
 /// 获取学年表列表分页
 /// </summary>
 /// <param name="model">InputModel</param>
 /// <returns>OutputModel</returns>
 public BaseResultModel <PageModel <AcademicYearOutputModel> > ListPageAcademicYear(AcademicYearInputModel model)
 {
     return(AcademicYearService.ListPageAcademicYear(model));
 }