public ActionResult Flights(List <Flight> flights) { FlightDataAccess fda = new FlightDataAccess(); var model = fda.GetAllFlights(); return(View(flights)); }
public ActionResult AllFlights() { FlightDataAccess fda = new FlightDataAccess(); return(View(fda.GetAllFlights())); }