Exemplo n.º 1
0
 public ActionResult Create(TestEditModel testEditModel)
 {
     try
     {
         testFacade.CreateTest(testEditModel.Test, testEditModel.SelectedTopics,
                               testEditModel.SelectedStudentGroups, testEditModel.NumberOfQuestions);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View(testEditModel));
     }
 }