public async Task <IActionResult> OnGetAsync(Guid id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            QuestionPool = await _context.QuestionPoolNew.FirstOrDefaultAsync(m => m.questionid == id);

            if (QuestionPool == null)
            {
                return(NotFound());
            }
            return(Page());
        }
        public async Task <IActionResult> OnPostAsync(string id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            QuestionPool = await _context.QuestionPoolNew.FindAsync(id);

            if (QuestionPool != null)
            {
                _context.QuestionPoolNew.Remove(QuestionPool);
                await _context.SaveChangesAsync();
            }

            return(RedirectToPage("./Index"));
        }