예제 #1
0
        public bool AddNewProductToSystem(string barcode, string productName, string description, double price,
                                          string categories)
        {
            bool output = facade.AddNewProductToSystem1(barcode, productName, description, price, categories);

            Logger.GetInstance().Event(output
                ? productName + "with barcode:" + barcode + " has been added to the system "
                : productName + "with barcode:" + barcode + " has not been added to the system");
            return(output);
        }