コード例 #1
0
        public ActionResult StudentFilter(int semesterId, int subjectId)
        {
            GradeValuesAccess g      = new GradeValuesAccess();
            List <Students>   result = g.getStudents(semesterId, subjectId);

            return(Json(data: result));
        }
コード例 #2
0
        //
        // GET: /GradeValues/

        public ActionResult Index()
        {
            GradeValuesAccess g     = new GradeValuesAccess();
            List <Students>   items = g.getStudents();

            return(View(items));
        }