// GET: api/Apuesta public IEnumerable <ApuestaDTO> Get() { var repo = new ApuestaRepository(); List <ApuestaDTO> apuesta = repo.RetrieveList(); return(apuesta); }