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