// GET: Flight/Create public IActionResult Create() { using (AroundTheWorldContext atw = _context) { var airportsViewDataDB = new SelectList(atw.Airports.ToList(), "AirportID", "AirportLocation"); ViewData["AirportLocations"] = airportsViewDataDB; } return(View()); }
public BookingsController(AroundTheWorldContext context) { _context = context; }
public TourController(AroundTheWorldContext context) { _context = context; }
public FlightController(AroundTheWorldContext context) { _context = context; }
public HomeController(AroundTheWorldContext context) { _context = context; }
public DestinationsV1Controller(AroundTheWorldContext db) { _db = db; }
public ReviewsV1Controller(AroundTheWorldContext db) { _db = db; }