Ejemplo n.º 1
0
        public async Task OnGetAsync()
        {
            teacherID = int.Parse(_httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value);
            Question  = await _teacherPoints.GetHistoryByTeacherID(teacherID);

            TotalPoints = await _points.GetTotalPoints(teacherID);
        }