public async Task <IActionResult> CreateTest()
        {
            CreateTestViewModel model = new CreateTestViewModel();

            model.Topics = (await _topicAppService.GetAllAsync()).ToList();
            return(View(model));
        }
예제 #2
0
 public async Task <IEnumerable <Topic> > Get()
 {
     return(await _topicAppService.GetAllAsync());
 }