static void Main(string[] args)
        {
            BankingSystem banking = new BankingSystem();
            BillingSystem billing = new BillingSystem();

            Facade facade = new Facade(banking, billing);

            facade.PayBills();

            Console.ReadKey();
        }
Beispiel #2
0
 public Facade(BankingSystem banking, BillingSystem billing)
 {
     _banking = banking;
     _billing = billing;
 }