public void Reset()
        {
            this.winnerResult = null;
            var bets = (List <BetNumber>) this.bets;

            bets.Clear();
        }
        public WinnerResult getWinnerResult()
        {
            var winnerResult  = new WinnerResult();
            var winnersString = endpoint.ObterTodosNumerosSorteados();
            var winnerTeam    = endpoint.obterNomeTimeSorteado();

            if (winnersString == null || winnerTeam == null)
            {
                throw new GameResultNotFound();
            }

            for (int i = 3; i <= 8; i++)
            {
                var award = Convert.ToDecimal(endpoint.obterPremioPorAcertos(i));
                if (award.CompareTo(Decimal.Zero) <= 0)
                {
                    throw new GameResultNotFound();
                }

                winnerResult.awardValues.Add(i, award);
            }

            var winners = winnersString.Split(',');

            winnerResult.winnerNumbers = winners.Select(winner => betRepo.find(winner));
            winnerResult.winnerTeam    = teamRepo.findTeamByName(winnerTeam);

            return(winnerResult);
        }