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