Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Simulation    simulation       = new Simulation();
            MarketingFirm marketingFirmOne = simulation.CreateMarketingFirmWithManager();
            //Sweepstakes winCruise = marketingFirmOne.CreateSweepstake();
            Sweepstakes winNewHouse = marketingFirmOne.CreateSweepstake();

            //marketingFirmOne.Manager.InsertSweepstakes(winCruise);
            marketingFirmOne.Manager.InsertSweepstakes(winNewHouse);
            //winCruise.RegisterContestant();
            winNewHouse.RegisterContestant();
            //winCruise.RegisterContestant();
            winNewHouse.RegisterContestant();
            //winNewHouse.RegisterContestant();
            //winNewHouse.RegisterContestant();
            //Contestant winner = winCruise.PickWinner();
            //Contestant otherWinner = winNewHouse.PickWinner();
            //Console.WriteLine(winner.registrationNumber);
            winNewHouse.Notify();


            Console.ReadLine();
        }