// GET: api/Apuestas public IEnumerable <Apuesta2> Get() { var repo = new ApuestaRepository(); List <Apuesta2> apuestas = repo.RetrieveByCuota(); return(apuestas); }