Beispiel #1
0
 public bool AddProductToBasket(string userName, string storeName, string productCode, int amount)
 {
     if (real == null)
     {
         return(true);
     }
     return(real.AddProductToBasket(userName, storeName, productCode, amount));
 }
Beispiel #2
0
 protected bool AddProductToCart(string userName, string storeName, string productCode, int amount)
 {
     return(service.AddProductToBasket(userName, storeName, productCode, amount));
 }