public int AddProductToCart(int productID, string cartID, double quantity, double productPrice, double userPrice) { CartDL cartDL = new CartDL(); int status = cartDL.AddProductToCart(productID, cartID, quantity, productPrice, userPrice); ApplyCoupon(cartID); return status; }
public int AddProductToCart(int productID, string cartID, double quantity, double productPrice, double userPrice) { CartDL cartDL = new CartDL(); return cartDL.AddProductToCart(productID, cartID, quantity, productPrice, userPrice); }