created API For Aplication Absensi

This commit is contained in:
2025-10-14 14:08:11 +07:00
commit 96d206d892
56 changed files with 6533 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
const services = require('../services/branch.service')
const getAll = async (req, res) => {
const response = await services.getAll(req, res)
return response
}
const create = async (req, res) => {
const response = await services.create(req, res)
return response
}
const update = async (req, res) => {
const response = await services.update(req, res)
return response
}
const destroy = async (req, res) => {
const response = await services.destroy(req, res)
return response
}
module.exports = {
getAll,
create,
update,
destroy
}