// GET: api/Matchs?idpartido=id
        public IEnumerable <Match> GetId(int idpartido)
        {
            var          repo    = new MatchsRepository();
            List <Match> betList = repo.RetrieveById(idpartido);

            return(betList);
        }
        // GET: api/Matchs
        public IEnumerable <Match> Get()
        {
            var          repo      = new MatchsRepository();
            List <Match> matchList = repo.Retrieve();

            return(matchList);
        }
        // PUT: api/Matchs/5
        public void Put(Boolean isOver, [FromBody] Market market)
        {
            var repo = new MatchsRepository();

            repo.InsertBet(isOver, market);
        }