public IActionResult Level1(Lvl1_ViewModel ViewBag, Level1 Lvl1) { ShowEnglishTranslation(Lvl1); if (ModelState.IsValid) { userInput = ViewBag.Input.ToString(); if (!(string.IsNullOrEmpty(userInput))) { if (Lvl1.QuestionIsCorrect(userInput)) { base.ViewBag.Result = "Correct"; } else { base.ViewBag.Result = "Wrong"; } } } else { Redirect("Level1"); } return(View()); }