// constructor - connect to db as soon as this controller is instantiated public AthleteController(AtleticaModel db) { this.db = db; }
// constructor - connect to db as soon as this controller is instantiated public SportController(AtleticaModel db) { this.db = db; }