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