Exemple #1
0
 public TripWaypoint GetTripWaypoint(string waypointName, int tripID)
 {
     return(TripWaypointCollection.FirstOrDefault(t => t.WaypointName == waypointName && t.Trip.TripID == tripID));
 }
Exemple #2
0
 public TripWaypoint GetTripWaypoint(int rowID)
 {
     CurrentEntity = TripWaypointCollection.FirstOrDefault(n => n.RowID == rowID);
     return(CurrentEntity);
 }