Mathis 62cb05cb33
feat(controllers): add delete and getBySlug methods in category controller
The `category.controller.ts` has been updated to handle deleting a category and retrieving a category by slug. The `deleteCategory` function takes a category slug from the request params and first checks if the category exists before attempting to delete it. While the `getBySlugCategory` function simply retrieves a category by its slug.

Issue: #12
Signed-off-by: Mathis <yidhra@tuta.io>
2024-04-25 15:02:46 +02:00
2024-04-24 16:55:37 +02:00
2024-04-24 16:55:37 +02:00
2024-04-24 16:57:09 +02:00
2024-04-23 13:51:13 +02:00
2024-04-22 16:05:04 +02:00
2024-04-23 13:54:18 +02:00
2024-04-22 16:05:04 +02:00
2024-04-23 13:51:59 +02:00

brief-05-back

Description
Faux site de location de véhicule.
Readme 648 KiB
Languages
TypeScript 100%