Sindbad~EG File Manager
const router = require("express").Router();
const {
updateUserProfile,
userAuctioneerListById,
getAllAuctioneerList,
updateUserAuctioneerList,
getUserProfile,
getAllCarsByAuctioneerId,
getAllCarsWithStatus,
deleteUserAuctioneer,
getAllSubscribedAuctioneerList,
deleteUserAuctioneerTesting,
} = require("../controllers/userController");
router.patch("/updateprofile", updateUserProfile);
router.get("/user-profile/:id", getUserProfile);
router.post("/user-auctioneer-list", userAuctioneerListById);
router.post("/allauctioneerlist", getAllAuctioneerList);
router.post("/subscribedauctioneerlist", getAllSubscribedAuctioneerList);
router.post("/updateuserauctioneerlist", updateUserAuctioneerList);
router.post("/allcarsbyauctioneerid", getAllCarsByAuctioneerId);
router.post("/getallcarswithstatus", getAllCarsWithStatus);
router.post("/deleteuserauctioneer", deleteUserAuctioneer);
router.post("/deleteuserauctioneer-testing", deleteUserAuctioneerTesting);
module.exports = router;
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists