projeto-hit/backend/src/controllers/SchedulingNotifyController.ts

16 lines
422 B
TypeScript
Raw Normal View History

import { Request, Response } from "express";
import DeleteSchedulingNotifyService from "../services/SchedulingNotifyServices/DeleteSchedulingNotifyService";
export const remove = async ( req: Request, res: Response ): Promise<Response> => {
console.log('EEEEEEEEEEEEEEEEEEEEEEEEEEE')
const { scheduleId } = req.params;
await DeleteSchedulingNotifyService(scheduleId);
return res.status(200).send();
};