示例#1
0
        public JsonResult GetCurrentUserGradesPerSemester()
        {
            var userId = 0;

            if (Int32.TryParse(HeaderValueReader.GetUserId(Request), out userId))
            {
                var grades = facultyService.GetCurrentUserGradesPerSemester(userId);
                return(new JsonResult(grades));
            }
            return(null);
        }