findAllByManagerId

abstract fun findAllByManagerId(managerId: UserId): List<Restaurant>

Finds all Restaurant entities associated with a specific manager ID.

Return

A list of Restaurant entities associated with the given manager.

Parameters

managerId

The ID of the manager to find restaurants for.