Action as controller
Your Actions can be ran as Controllers that can be then registered as route handlers.
Implementing AsController
Registering the route
You can then use your Action as a route handler:
Your Actions can be ran as Controllers that can be then registered as route handlers.
AsController
You can then use your Action as a route handler: