src/utils/auth.utils.js
/**
   *
   * @param {obj} data
   * @returns {boolean} check if room number exist an an accommodation
   */
@param {obj} data
@returns {boolean} check if room number exist an an accommodation
@param { obj } data @returns { boolean } check if room number exist an an accommodation
static async roomExist(data) {
    try {
      const roomExist = await UserRepository.findRoomWhere(data);
      return !!roomExist;
    } catch (error) {
      throw new Error(error);
    }
  }
static async roomExist ( data ) { try { const roomExist = await UserRepository . findRoomWhere ( data ) ; return ! ! roomExist ; } catch ( error ) { throw new Error ( error ) ; } }
@param {obj} data
 @returns {boolean} check if room number exist an an accommodation
@param { obj } data @returns { boolean } check if room number exist an an accommodation