public static void SearchTripOffers(string username) { string date; string source; string destination; Console.WriteLine("Enter Date (DD/MM/YYYY): "); date = Console.ReadLine(); Console.WriteLine("Enter Source : "); source = Console.ReadLine(); Console.WriteLine("Enter Destination : "); destination = Console.ReadLine(); ICollection <TripOffer> Trips = TripServices.SearchTrip(date, source, destination); if (Trips.Count == 0) { Console.WriteLine("NO TRIPS FOUND!"); Console.ReadKey(); UserMenu(username); } foreach (TripOffer Trip in Trips) { Console.WriteLine($"\n\n { Trip.TripOfferId} | Driver : {Trip.Username} | {Trip.Date } | { Trip.Time } | { Trip.Source } to { Trip.Destination } | { Trip.Distance }kms | { Trip.CarModel } { Trip.CarNumber } | Total Seats : { Trip.TotalSeats } | Seats Left : { Trip.SeatsLeft } | Cost Per Head : { Trip.CostPerHead}"); } Console.ReadKey(); Console.WriteLine("\nEnter the Trip ID for the trip you are interested in : "); string tripOfferId = Console.ReadLine(); TripServices.JoinTripRequest(username, tripOfferId); Console.WriteLine("Request Created!!"); Console.ReadKey(); UserMenu(username); }