Ejemplo n.º 1
0
 /// <summary>
 /// This method forwards the information from the UI to delete a specific record.
 /// </summary>
 /// <param name="sFlightID"></param>
 /// <param name="sCurrentPassID"></param>
 public void ForwardDeletePassenger(string sFlightID, string sCurrentPassID)
 {
     try
     {
         clsData.DeletePassenger(sFlightID, sCurrentPassID);
     }
     catch (Exception ex)
     {
         throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " -> " + ex.Message);
     }
 }