private FlightQueryViewModel PopulateFlightQueryViewModel(FlightQueryViewModel f)
        {
            var flights = airportService.SearchForFlights(f.DepartureDate, f.DepartureAirportCode, f.ArrivalAirportCode);
            flights = FilterBySeats(flights, f.Seats);
            f.Flights = flights;

            return f;
        }
 public ActionResult Search(FlightQueryViewModel f)
 {
     Session["LastFlightQuery"] = f;
     return PartialView("FlightQueryResults", PopulateFlightQueryViewModel(f));
 }