public async Task <IActionResult> CreateTest() { CreateTestViewModel model = new CreateTestViewModel(); model.Topics = (await _topicAppService.GetAllAsync()).ToList(); return(View(model)); }
public async Task <IEnumerable <Topic> > Get() { return(await _topicAppService.GetAllAsync()); }