Exemplo n.º 1
0
        public void CreateMarketingFirmWithManager()
        {
            string marketingFirmName = UserInterface.GetUserInputFor("marketing firm's name.");
            ISweepstakesManager sweepstakesManager = ManagerFactory.GetManager(UserInterface.ChooseManagerPrompt());
            MarketingFirm       marketingFirm      = new MarketingFirm(sweepstakesManager, marketingFirmName);

            marketingFirm.CreateSweepstake();
            //sweepstakesManager.GetSweepstakes();
        }