public static void StoreInput() { UserInput(); currentFlight = GetPlane(PlaceStates, PlaceTypes, AircraftType, Destination, Origin, SeatAmount, DepartureTime, ArrivalTime, Cost, FlightBarcode); hash.Value = currentFlight.GetValue(currentFlight.FlightBarcode); store.AddingStorage( hash.AddingHash(hash.HashKey(hash.Value)), currentFlight.PlaceStates, currentFlight.PlaceTypes, currentFlight.AircraftType, currentFlight.Destination, currentFlight.Origin, currentFlight.SeatAmount, currentFlight.DepartureTime, currentFlight.ArrivalTime, currentFlight.Cost, currentFlight.FlightBarcode ); }