findByIdAndRestaurantId

abstract fun findByIdAndRestaurantId(id: MenuId, restaurantId: RestaurantId): Menu?

Finds a Menu by its ID and associated RestaurantId.

Return

The found Menu or null if not found.

Parameters

id

The ID of the menu to find.

restaurantId

The ID of the restaurant associated with the menu.