Exemplo n.º 1
0
 /// <summary>
 /// Inserts the Dinner details and stores transaction id and cost into the session for paypal to use.
 /// </summary>
 /// Created by: Andrew Heim 11-29-12
 private void insertDinnerRegistrantDetails()
 {
     BusinessTier bt = new BusinessTier();
     DataSet ds = bt.insertDinnerRegistration((Dictionary<string, string>)Session["regInfo"]);
     Session["transactionID"] = ds.Tables[1].Rows[0][0];
     Session["cost"] = ((Dictionary<string, string>)Session["regInfo"])["cost"];
     Session["eventType"] = "Dinner";
 }