public async Task <ActionResult <IEnumerable <SubjectDto> > > GetAll() { return(await _subjectService.GetAllAsync().ToListAsync()); }
public async Task <ActionResult <IEnumerable <CategoryDto> > > GetAll() => Ok(await _categoryService.GetAllAsync());
public async Task <ActionResult <IEnumerable <QuestionDto> > > GetAll() { return(await _questionService.GetAllAsync().ToListAsync()); }
public async Task <ActionResult <IEnumerable <AttemptDto> > > GetAll() { return(await _attemptService.GetAllAsync().ToListAsync()); }
public async Task <ActionResult <IEnumerable <ProductDto> > > GetAll() => Ok(await _productService.GetAllAsync());
public async Task <ActionResult <IEnumerable <TopicDto> > > GetAll() { return(await _topicService.GetAllAsync().ToListAsync()); }