public async Task OnGetAsync() { teacherID = int.Parse(_httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value); Question = await _teacherPoints.GetHistoryByTeacherID(teacherID); TotalPoints = await _points.GetTotalPoints(teacherID); }