Example #1
0
 public ActionResult Index()
 {
     _setupQuiz = new QuizSetupAplicacao();
     ViewBag.AssuntosDisponiveis = _setupQuiz.AssuntosDisponiveis().OrderBy(a => a.Name).ToList().AsEnumerable();
     ViewBag.QuizzesDisponiveis = _setupQuiz.DisponiveisParaAssociarPerguntas().OrderBy(q => q.Descricao).ToList();
     return View("NovoQuiz");
 }
 public ViewResult Index()
 {
     _setupQuiz = new QuizSetupAplicacao();
     ViewBag.AssuntosDisponiveis = _setupQuiz.AssuntosDisponiveis();
     return View("Assuntos");
 }