Exemplo n.º 1
0
 // 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;
 }
Exemplo n.º 3
0
 public TourController(AroundTheWorldContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public FlightController(AroundTheWorldContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 public HomeController(AroundTheWorldContext context)
 {
     _context = context;
 }
 public DestinationsV1Controller(AroundTheWorldContext db)
 {
     _db = db;
 }
Exemplo n.º 7
0
 public ReviewsV1Controller(AroundTheWorldContext db)
 {
     _db = db;
 }