Exemplo n.º 1
0
        static void Main(string[] args)
        {
            UserInterface.InitialDisplay();
            string        stackOrQueue = UserInterface.GetManagerChoice();
            MarketingFirm newFirm      = new MarketingFirm(stackOrQueue);

            newFirm.stillWorking = true;
            while (newFirm.stillWorking == true)
            {
                newFirm.FirmMenu();
            }
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            ObjectFactory       obj       = new ObjectFactory();
            ISweepstakesManager manager   = obj.SetManagment();
            MarketingFirm       marketing = new MarketingFirm(manager);

            marketing.FirmMenu();
            Sweepstakes sweep = new Sweepstakes();

            sweep.SweepstakesMenu();
            Console.ReadLine();
        }