I have the following T4MVC route:
MVC.Photos.Get(int id, string type)
- Given this I would like to get T4MVC route name: "MVC.Photos.Get".
- And I would like to get the parameters names: "id", "type".
I would like to use this, together with the URL of this route, to create a JS function which I will use on my view so I can access it in a similar way as I do in MVC.
How can I do this?