예제 #1
0
 public List <Question> All()
 {
     return(_repository.All());
 }
예제 #2
0
 // GET
 public async Task <IEnumerable <Question> > Index()
 {
     return(await _repo.All());
 }