示例#1
0
 /// <summary>
 /// This method passes informatino needed to add a passenger to the database.
 /// </summary>
 /// <param name="sFirst"></param>
 /// <param name="sLast"></param>
 /// <param name="sFlightID"></param>
 public void AddPassenger(string sFirst, string sLast, string sFlightID)
 {
     try
     {
         sNewPassID = clsData.AddPassenger(sFirst, sLast, sFlightID);
     }
     catch (Exception ex)
     {
         throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " -> " + ex.Message);
     }
 }