text: const flashMessages = require('../config/flash-messages')
  const validator = require('../../validator')
  const sanitize = require('../../sanitize')
  
  const {
    addUser,
    addOrder,
    addProduct,
    listUsers,
    listProducts,
    signInUser,
    listOrders,
    updateUser,
  } = require('../../../use-cases/index')
  
  const makeGetAdminDashboard = require('./get-admin-dashboard')
  const makeGetUserDashboard = require('./get-user-dashboard')
  const makeGetSignUp = require('./get-signup')
  const makePostSignup = require('./post-signup')
  const makePostSignin = require('./post-signin')
  const makeGetNewUser = require('./get-new-user')
  const makePostNewUser = require('./post-new-user')
  const makeGetUsers = require('./get-users')
  
  const makeGetUserSettings = require('./get-user-settings')
  const makeGetUserNewOrder = require('./get-user-new-order')
  const makePostUserNewOrder = require('./post-user-new-order')
  const makeGetAdminOrders = require('./get-admin-orders')
  const makeGetUserOrders = require('./get-user-orders')
  
  const makeGetUserNewProduct = require('./get-user-new-product')
  const makePostUserNewProduct = require('./post-user-new-product')
  const makeGetAdminProducts = require('./get-admin-products')
  const makePutUserSettings = require('./put-user-settings')
  const makeGetUserProducts = require('./get-user-products')
  
  const getAdminDashboard = makeGetAdminDashboard()
  const getUserDashboard = makeGetUserDashboard()
  const getSignUp = makeGetSignUp()
  const postSignup = makePostSignup({
    addUser,
    flashMessages,
    sanitize,
    validator,
  })
  const postSignin = makePostSignin({ signInUser, flashMessages })
  const getUsers = makeGetUsers({ listUsers })
  const getNewUser = makeGetNewUser()
  const postNewUser = makePostNewUser({
    addUser,
    flashMessages,
    sanitize,
    validator,
  })
  
  const putUserSettings = makePutUserSettings({
    updateUser,
    flashMessages,
    sanitize,
  })
  const getAdminOrders = makeGetAdminOrders({ listOrders })
  const getUserOrders = makeGetUserOrders({ listOrders })
  
  const getUserSettings = makeGetUserSettings()
  const getUserNewOrder = makeGetUserNewOrder()
  const postUserNewOrder = makePostUserNewOrder({
    addOrder,
    flashMessages,
    sanitize,
  })
  
  const getUserNewProduct = makeGetUserNewProduct()
  const postUserNewProduct = makePostUserNewProduct({
    addProduct,
    flashMessages,
    sanitize,
  })
  const getAdminProducts = makeGetAdminProducts({ listProducts })
  const getUserProducts = makeGetUserProducts({ listProducts })
  
  module.exports = {
    getAdminDashboard,
    getUserDashboard,
    getSignUp,
    postSignup,
    postSignin,
    getNewUser,
    postNewUser,
    getUsers,
    putUserSettings,
    getUserSettings,
    getUserNewOrder,
    postUserNewOrder,
    getAdminOrders,
    getUserOrders,
    getUserNewProduct,
    postUserNewProduct,
    getAdminProducts,
    getUserProducts,
  }
  