Exemplo n.º 1
0
 public ActionResult DeleteQuestion(int?qsId)
 {
     try
     {
         service.DeleteQuestion(qsId);
         viewModel.GetAllQuestionList = service.GetAllQuestion();
         return(RedirectToAction("List", viewModel));
     }
     catch (Exception ex)
     {
         throw;
     }
 }