/
home
/
infinitibizsol
/
.trash
/
routes
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/routes/userRoute.js
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;
Copyright ©2k19 -
Hexid
|
Tex7ure