I want to build a custom filter attribute that will be added to controller level. How can I get the current controller, action and parameter names that are currently being invoked?
Example: If I issues a POST request to: https://localhost:443/api/users/delete/3
How can I get in my attribute (and I am not talking about url parsing here)
- controller = users
- action = delete
- id = 3