Test Complété

This commit is contained in:
2020-07-02 16:13:42 +02:00
parent 7926079016
commit 40bc6c7e73
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
module.exports = class ApiController {
constructor(db) {
this.db = db
}
all(req, res) {
res.send(this.db.getAll())
}
}