Exemple #1
0
 public ActionResult NewOddOneOutQuestion()
 {
     var q = new OddOneOutQuestion();
       q.Title = "Welke hoort er niet bij?";
       q.Guid = Guid.NewGuid().ToString("N");
       return View("EditQuestion", q);
 }
Exemple #2
0
 public ActionResult UpdateOddOneOutQuestion(OddOneOutQuestion q)
 {
     Questions.Save(q);
       return RedirectToAction("EditOddOneOutQuestion", new { guid = q.Guid });
 }