public ActionResult Index(QuizViewModel model) { if (ModelState.IsValid) { return View("Thanks", model); } return View(model); }
public ActionResult Index() { var model = new QuizViewModel(); return View(model); }