public async Task <IActionResult> OnGet()
        {
            SelectList quizesDropdownValues;

            if (QuizId != null)
            {
                quizesDropdownValues = await _svc.GenerateQuizesDropdown(specificIdToSelect : QuizId);
            }
            else
            {
                quizesDropdownValues = await _svc.GenerateQuizesDropdown(selectEmpty : true);
            }
            ViewData["QuizId"] = quizesDropdownValues;
            return(Page());
        }
        public async Task <IActionResult> OnGetAsync(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            Question = await _questionData.GetByIdAsync((int)id);

            if (Question == null)
            {
                return(NotFound());
            }
            var selectEmptyIf = Question.QuizId == null && Question.Quiz == null;

            var quizesDropdownValues = await _svc.GenerateQuizesDropdown(selectEmptyIf);

            ViewData["QuizId"] = quizesDropdownValues;

            return(Page());
        }