Returns the result of applying the function to the passed input
.
The execution goes through the following steps:
- The current tenant ID is obtained and remembered.
- The tenant ID passed to the constructor is set as current.
- The apply method is called.
- The previous tenant ID is set as current.