src/services/user.service.js
/**
   * Reads all users from the DB.
   *
   * @returns
   */
Reads all users from the DB.
@returns
Reads all users from the DB . @returns
static async users() {
    try {
      return await User.findAll({
        include: ['guns'],
      });
    } catch (error) {
      throw error;
    }
  }
static async users ( ) { try { return await User . findAll ( { include : [ 'guns' ] , } ) ; } catch ( error ) { throw error ; } }
Reads all users from the DB.
Reads all users from the DB .