public static List <Airline> GetSampleData() { Airline indigo = new Airline("Indigo Airlines", "IATA001", "A LCC Running domestic passenger flights in India"); Airline spiceJet = new Airline("SpiceJet", "IATA002", "A LCC Running domestic passenger flights in India"); Airline airIndia = new Airline("Air India", "IATA003", "A Fully operating airlines operating domestic flights in India, and International flights all over the world"); return ( new List <Airline>() { indigo, spiceJet, airIndia } ); }
public bool IndexAirlineData(Airline airline) { return(performIndexing(airline) != null); }