Esempio n. 1
0
        public ActionResult GetTeacher(DtoSchoolTeacherSearch search)
        {
            var list  = schoolTeacherBll.GetSchoolTeacherList(search);
            var table = AbhsTableFactory.Create(list, search.Pagination.TotalCount);

            return(Json(table, JsonRequestBehavior.AllowGet));
        }
Esempio n. 2
0
        public void GetRegionTest()
        {
            DtoSchoolTeacherSearch search = new DtoSchoolTeacherSearch(10000);

            search.Grade = 4;

            var list = schoolTeacherBll.GetSchoolTeacherList(search);

            BaseAssertList(list);


            //bll.IncrementStudentCount(10000, 5, 1);

            DateTime dt = new DateTime(2019, 10, 1, 5, 20, 30);

            var s = dt.ToString("yyyy-MM-dd hh:mm:ss");

            Assert.IsNotNull(s);
        }