public void Update(Flight flight) { var originalFlight = _flightDbContext.Get(flight.Id); originalFlight.ChangeFlightNumber(originalFlight.FlightNumber); _flightDbContext.Update(originalFlight); }