mirror of
https://github.com/Aviortheking/IMIE_CQ.git
synced 2025-08-05 01:11:58 +00:00
Test Complété
This commit is contained in:
10
Controller/ApiController.js
Normal file
10
Controller/ApiController.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = class ApiController {
|
||||
|
||||
constructor(db) {
|
||||
this.db = db
|
||||
}
|
||||
|
||||
all(req, res) {
|
||||
res.send(this.db.getAll())
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user