protected void btnCheckout_Click(object sender, EventArgs e) { User user = (User)Session["auth_user"]; TransactionHandler.Checkout(user, carts); Response.Redirect("Index.aspx"); }
public static void CheckOut(int userId, int paymentTypeID, List <Carts> carts) { TransactionHandler.Checkout(userId, paymentTypeID, carts); }
public static void CheckOut(int userId, int paymentID) { TransactionHandler.Checkout(userId, paymentID); }