mirror of
https://github.com/jlengrand/sample-node-api.git
synced 2026-03-10 08:41:23 +00:00
14 lines
279 B
JavaScript
14 lines
279 B
JavaScript
const accountsCarsService = require('../services/accountsCars.service');
|
|
|
|
const get = function(req, res){
|
|
res.send(accountsCarsService.get(req));
|
|
}
|
|
|
|
const getAll = function(req, res){
|
|
res.send(accountsCarsService.getAll(req));
|
|
}
|
|
|
|
module.exports = {
|
|
get,
|
|
getAll
|
|
}; |