private void DbUpdate(Plane plane, LandingRunwayStation station, FlightActionsEnum flightAction)
        {
            ILanding flight = simulatorService.CreateFlightByAction(plane, station, flightAction) as ILanding;

            dbSaveService.AddLanding(flight);
        }
Beispiel #2
0
        private void AddTakeoffToDb(Plane plane, TakeoffRunwayStation runway)
        {
            ITakeoff flight = simulatorService.CreateFlightByAction(plane, runway, FlightActionsEnum.Takeoff) as ITakeoff;

            dbSaveService.AddTakeoof(flight);
        }