public ActionResult Edit(QuestionChoice questionchoice)
 {
     if (ModelState.IsValid)
     {
         db.Entry(questionchoice).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(questionchoice);
 }
        public ActionResult Create(QuestionChoice questionchoice)
        {
            if (ModelState.IsValid)
            {
                db.QuestionChoices.Add(questionchoice);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(questionchoice);
        }