Paramters for class based view method

How to add paramters to specify method like put in class based view

You mean this?