예제 #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());
 }