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

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