/* ============================================================================ *\
|| ########################################################################## ||
|| # Auction Software Marketplace Release: 0.6 Build 0.7 # ||
|| # ---------------------------------------------------------------------- # ||
|| # License # 35YAHCNR9344X6O666C123AB # ||
|| # ---------------------------------------------------------------------- # ||
|| # Copyright ©2014–2021 Develop Scripts LLC. All Rights Reserved # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ------------- AUCTION SOFTWARE IS NOT FREE SOFTWARE ------------------ # ||
|| # http://www.auctionsoftwaremarketplace.com|support@auctionsoftware.com # ||
|| # ---------------------------------------------------------------------- # ||
|| ########################################################################## ||
\* ============================================================================ */
const express = require('express')
const userCtrl = require('../controllers/user')
const app = express.Router()
/**
* Route for Users.
*
* @namespace adminside.user
* @memberOf adminside
*/
app.post('/allbuyers', userCtrl.allbuyers)
app.post('/getSingleUser', userCtrl.getSingleUser)
app.post('/userAction', userCtrl.userAction)
app.post('/changeStatus', userCtrl.changeStatus)
app.post('/adduser', userCtrl.userAdd)
app.post('/edituser', userCtrl.userUpdate)
app.post('/getuserlist', userCtrl.userListing)
module.exports = app