Handle methods with parameters

Although controller actions never have parameters
I wanted to solve this in case I need this method
for something else.