// GET: api/ApuestasDTO /* * public IEnumerable<ApuestaDTO> Get() * { * var repo = new ApuestaRepository(); * List<ApuestaDTO> apuestas = repo.RetrieveDTO(); * return apuestas; * } */ public Apuesta Get(int ApuestaId) { var repo = new ApuestaRepository(); Apuesta m = repo.RetrieveByIdExamen(ApuestaId); return(m); }