示例#1
0
 protected void Checkout(object sender, EventArgs e)
 {
     if (BusinessLogic.CheckOut(items, User.Identity.GetUserId(), (string)Session["promoCode"]))
     {
         Response.Redirect("~/Confirmation.aspx");
     }
     else
     {
         lblMsg.Text = "HAHAHA";
     }
 }