Esempio n. 1
0
        public bool AddProductToBasket(string userName, string storeName, string productBarCode, int amount)
        {
            bool output = facade.AddProductToBasket(userName, storeName, productBarCode, amount);

            Logger.GetInstance().Event(output
                ? userName + " has has added product :" + productBarCode + "form store: " + storeName + " to his Basket"
                : userName + " could not add product :" + productBarCode + "form store: " + storeName + " to his Basket");
            return(output);
        }