public ActionResult SearchFlights(SearchPageForm form) { FlightDataAccess fda = new FlightDataAccess(); var flights = fda.SearchFlights(form.StartCity, form.DestinationCity, form.Country); return(PartialView("_Partial/Flights", flights)); }
public ActionResult SearchFlights(SearchPageForm form) { FlightDataAccess fda = new FlightDataAccess(); var flights = fda.SearchFlights(form.StartCity, form.DestinationCity, form.Country); return(PartialView("_Partial/Flights", flights)); }