예제 #1
0
 public void DeleteFlight(Flight flight)
 {
     Flights.Remove(flight);
 }
예제 #2
0
 public void UpdateFlight(Flight flight)
 {
     Update(flight, Flights);
 }
예제 #3
0
 public void AddFlight(Flight flight)
 {
     flight.UserId = User.id;
     Flights.Add(flight);
 }