public ISweepstakesManager SelectManager()
        {
            Managerfactory mfactory = new Managerfactory();

            manager = mfactory.GetManager();
            return(manager);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Managerfactory newFactory = new Managerfactory();
            MarketingFirm  newFirm    = new MarketingFirm();

            newFirm.SelectManager();
            newFirm.MakeSweepstakes();
            newFirm.DoSweepstakes();
            Console.ReadLine();
        }