Exemplo n.º 1
0
        public ISweepstakesManager CreateChooseSweepstakesManager()
        {
            string userInput = UserInterface.ChooseSweepstakesManager();

            switch (userInput)
            {
            case "1":
                return(new SweepstakesQueueManager());

            case "2":
                return(new SweepstakesStackManager());

            default:
                return(null);
            }
        }