예제 #1
0
 // GET: api/Lector
 public IHttpActionResult Get()
 {
     return(Ok(_repo.GetAll()));
 }
예제 #2
0
 public async Task <IEnumerable <Lector> > GetAll()
 {
     return(await _lectorRepository.GetAll());
 }