Пример #1
0
 public ActionResult AddQuestion(long id)
 {
     ViewBag.QuestionList = new SelectList(QuestionRepo.All(""), "id", "question");
     return(PartialView("_AddQuestion", Document_Test_DetailRepo.By(id)));
 }
Пример #2
0
 public ActionResult List(string search)
 {
     return(PartialView("_List", QuestionRepo.All(search)));
 }
Пример #3
0
 public ActionResult Question()
 {
     ViewBag.Questionlist = new SelectList(QuestionRepo.All(null), "id", "question");
     return(PartialView("_Question"));
 }