Next, we need to slightly adjust the way we obtain a reference to the EntityManager within the FavoriteCityService class as we now need to pass the current tenant ID (in our case the user ID). The following code snippet illustrates the concept: