Example #1
0
 public static Boolean AddTrip(CommonTrip trip)
 {
     if (DataTrip.AddTrip(trip) == false)
     {
         Debug.WriteLine("trip could not be added successfully");
         return(false);
     }
     Debug.WriteLine("trip was added successfully");
     return(true);
 }
Example #2
0
 public static IEnumerable <CommonTrip> RetrieveTripsByClient(string email)
 {
     return(DataTrip.RetrieveTripsByClient(email));
 }