How to pass the value(primitive type string,int...) to the action method ?
I had seen in some documents as like :
-> Passing through URL with querystring appending.
In some documents it was like :
-> with data attribute of $.ajax ('data:value').
So, which one needs to choose ?