public IActionResult AddQuizUnit(AddQuizUnitVM model) { if (!ModelState.IsValid) { return(View(model)); } context.AddNewQuizUnit(model); return(RedirectToAction(nameof(Index))); }