feat: add employee timing system, notification templates, and professor class plan sms
This commit is contained in:
@@ -59,3 +59,8 @@ exports.getPublicOne = catchAsync(async (req, res) => {
|
||||
const cls = await classService.getPublicOne(req.params.id);
|
||||
return successResponse(res, 200, 'Class retrieved successfully', cls);
|
||||
});
|
||||
|
||||
exports.sendClassPlanToProfessor = catchAsync(async (req, res) => {
|
||||
const result = await classService.sendClassPlanToProfessor(req.params.id);
|
||||
return successResponse(res, 200, 'برنامه کلاس با موفقیت برای استاد ارسال شد.', result);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user