public ActionResult Create(Quiz quiz)
        {
            if (ModelState.IsValid)
            {
                db.Quizs.Add(quiz);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(quiz);
        }
 public ActionResult Edit(Quiz quiz)
 {
     if (ModelState.IsValid)
     {
         db.Entry(quiz).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(quiz);
 }