예제 #1
0
 // GET: Questions
 public IActionResult Index(int id, string Serienum)
 {
     ViewBag.SerieId  = id;
     ViewBag.Serienum = Serienum;
     return(View(_Questions.GetAllAsync().Result.Select(Mapper.Map <Question, QuestionViewModel>)));
 }