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