Beispiel #1
0
 public void FinishTrip()
 {
     if (ValidationErrorsHandler.IsValid(_validator, Trip))
     {
         _isFormValid = true;
         DataServiceTrip dsTrip = new DataServiceTrip();
         dsTrip.UpdateTrip(Trip);
     }
     else
     {
         _isFormValid = false;
     }
 }
        public void UpdateExistingTrip()
        {
            DataServiceTrip dsTrip = new DataServiceTrip();

            dsTrip.UpdateTrip(Trip);
        }