public bool RemoveProductFromCart(string userName, string storeName, string productBarcode, int amount) { return(CartLogic.RemoveProductFromBasket(userName, storeName, productBarcode, amount)); }
// 2.7) Add a product to a shopping basket public bool AddProductToBasket(string userName, string storeName, string productCode, int amount) { return(CartLogic.AddProductToBasket(userName, storeName, productCode, amount)); }
public List <string> GetBasketProducts(string userName, string storeName) { return(CartLogic.GetBasketProducts(userName, storeName)); }
public bool UpdateCart(string userName, string storeName, string productBarcode, int newAmount) { return(CartLogic.UpdateCart(userName, storeName, productBarcode, newAmount)); }
public bool Purchase(string userName, string creditCard) { return(CartLogic.Purchase(userName, creditCard)); }
public Dictionary <string, int> GetCartByStore(string userName, string storeName) { return(CartLogic.GetCartByStore(userName, storeName)); }
public List <string> GetUserBaskets(string userName) { return(CartLogic.GetUserBaskets(userName)); }