Example #1
0
        protected void btnCheckout_Click(object sender, EventArgs e)
        {
            User user = (User)Session["auth_user"];

            TransactionHandler.Checkout(user, carts);

            Response.Redirect("Index.aspx");
        }
Example #2
0
 public static void CheckOut(int userId, int paymentTypeID, List <Carts> carts)
 {
     TransactionHandler.Checkout(userId, paymentTypeID, carts);
 }
Example #3
0
 public static void CheckOut(int userId, int paymentID)
 {
     TransactionHandler.Checkout(userId, paymentID);
 }