예제 #1
0
 public void Update(Trips toUpdateTrips)
 {
     myTrips.Remove(myTrips.First(t => t.Id == toUpdateTrips.Id));
     Add(toUpdateTrips);
 }
예제 #2
0
 public void Add(Trips newTrips)
 {
     myTrips.Add(newTrips);
 }