public IActionResult AddQuestion(AddQuestionVM model, int correctAnswer) { if (!ModelState.IsValid) { return(View(model)); } context.AddNewQuestion(model, correctAnswer); return(RedirectToAction(nameof(Index))); }