Beispiel #1
0
 public bool Purchase(string userName, string creditCard)
 {
     if (real == null)
     {
         return(true);
     }
     return(real.Purchase(userName, creditCard));
 }
Beispiel #2
0
 protected bool Purchase(string userName, string creditCard)
 {
     return(service.Purchase(userName, creditCard));
 }