示例#1
0
        // GET: api/ClassroomAPI
        public JsonResult Get()
        {
            ClassroomModule module    = new ClassroomModule(_context);
            var             resultVal = module.GetList();

            return(Json(resultVal));
        }
示例#2
0
        public JsonResult GetTestList()
        {
            ClassroomModule list = new ClassroomModule(_context);

            var item = list.GetList();

            return(Json(item));
        }