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,35 @@
const services = require('../services/absensi.service')
const history = async (req, res) => {
const response = await services.history(req, res);
return response;
};
const create = async (req, res) => {
const response = await services.create(req, res);
return response;
};
const clockOut = async (req, res) => {
const response = await services.clockOut(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 = {
create,
history,
update,
destroy,
clockOut
}