I have found ASP.Net PageMethods very handy and easy to use, but I have just started developing using MVC and am not sure how to use them?
What is the equivalent of PageMethods.MyFunction()
in MVC where MyFunction is a Controller action?
I know I can use the Json
function to return a value, but how do I call the action from the client?