/* * Class Constructor, set the context upon instantiation */ public PilotRepo(OpenAirDbContext db) { this.db = db; }
public RouteRepo(OpenAirDbContext db) { this.db = db; }
/* * Class constructor creates db context for flights */ public FlightRepo(OpenAirDbContext db) { this.db = db; }