/// <summary> add a new registeration in the db
 /// </summary>
 public static void Add(RegisterationDTO registeration)
 {
     RegisterationDal.AddRegisteration(RegisterationConverters.GetRegisteration(registeration));
 }
Exemplo n.º 2
0
 /// <summary> pay to passenger about cancle the traveling
 /// </summary>
 public static void PayToPassengerCancel(RegisterationDTO reg, DateTime fromDate, DateTime toDate)
 {
     PaymentDal.AddPaymentCancelToP(RegisterationConverters.GetRegisteration(reg), fromDate, toDate);
 }