public Flight(Flight flight) : this(flight.departurePoint, flight.destination, flight.departureDate, flight.departureTime, flight.countOfTicket, flight.price) { }
public void SetFlightByIndex(int index, Flight flight) { flights[index] = flight; }
public Flight(Flight flight) : this(flight.departurePoint, flight.destination, flight.departureDate, flight.departureTime, flight.countOfTicket, flight.price) { }
public void SetFlightByIndex(int index, Flight flight) { flights[index] = flight; }