// Search All Flights Of Current Airline.
        public IList <Flight> GetAllFlightsByAirline(LoginToken <AirlineCompany> token)
        {
            List <Flight> flights = new List <Flight>();

            if (UserIsValid(token))
            {
                flights = _flightDAO.GetFlightsByAirlineCompany(token.User).ToList();
            }
            return(flights);
        }