Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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);
 }