public List <string> GetFlightIds() { var db = new FlightsContext(); return(db.Flights.Select(x => x.FlightID).Distinct().ToList()); }