Пример #1
0
 public async Task <ActionResult <IEnumerable <SubjectDto> > > GetAll()
 {
     return(await _subjectService.GetAllAsync().ToListAsync());
 }
Пример #2
0
 public async Task <ActionResult <IEnumerable <CategoryDto> > > GetAll()
 => Ok(await _categoryService.GetAllAsync());
Пример #3
0
 public async Task <ActionResult <IEnumerable <QuestionDto> > > GetAll()
 {
     return(await _questionService.GetAllAsync().ToListAsync());
 }
Пример #4
0
 public async Task <ActionResult <IEnumerable <AttemptDto> > > GetAll()
 {
     return(await _attemptService.GetAllAsync().ToListAsync());
 }
Пример #5
0
 public async Task <ActionResult <IEnumerable <ProductDto> > > GetAll()
 => Ok(await _productService.GetAllAsync());
Пример #6
0
 public async Task <ActionResult <IEnumerable <TopicDto> > > GetAll()
 {
     return(await _topicService.GetAllAsync().ToListAsync());
 }