Beispiel #1
0
        public ActionResult Flights(List <Flight> flights)
        {
            FlightDataAccess fda = new FlightDataAccess();
            var model            = fda.GetAllFlights();

            return(View(flights));
        }
Beispiel #2
0
        public ActionResult AllFlights()
        {
            FlightDataAccess fda = new FlightDataAccess();

            return(View(fda.GetAllFlights()));
        }