// GET: api/Apuesta?cuota=cuota1&cuota=cuota2 public IEnumerable <ApuestaDTO1> GetCuota(string email_fk, double cuotamax) { var repo = new ApuestaRepository(); List <ApuestaDTO1> apuesta = repo.RetrieveCuota(email_fk, cuotamax); return(apuesta); }
// GET: api/Apuesta?cuota=cuota1&cuota=cuota2 public IEnumerable <ApuestaDTO1> GetCuota(string email_fk, double cuotamax) { var repo = new ApuestaRepository(); List <ApuestaDTO1> apuesta = repo.RetrieveCuota(email_fk, cuotamax); return(apuesta); }