예제 #1
0
        public ActionResult RemoveQuestion(string questionGuid)
        {
            if (questionGuid != null)
            {
                _lowLevelTestManagementService.RemoveQuestion(questionGuid);

                return(RedirectToAction(actionName: "GetQuestionsByTestGuid",
                                        controllerName: "Test",
                                        routeValues: new
                {
                    testGuid = Session["testGuid"]
                }));
            }

            return(HttpNotFound());
        }
예제 #2
0
 public void RemoveQuestion(string testGuid, string questionGuid)
 {
     _lowLevelTestManagementService.RemoveQuestion(questionGuid);
 }
예제 #3
0
 public ActionResult RemoveQuestion(string questionGuid)
 {
     _lowLevelTestManagementService.RemoveQuestion(questionGuid);
     return(RedirectToAction("TestManagement", "Admin"));
 }