public void Update(MTrip trip) { trips.Remove(trips.First(t => t.Id == trip.Id)); Create(trip); }
public void Create(MTrip trip) { trips.Add(trip); }