Hi,
I need generate action links outside controllers.
I can use Html.Action in Views, Url.Action in Controllers. That's fine but...
I have my own class where I want generate HTML code for site menu, which is used in site.master. But how can I generate action links in my own class? Possible solution is to generate this HTML code in BaseController, but I don't want do this, because my class should be independent with ability to generate right links.
I've been googled for on hour, but didn't find solution.
Any help? Thanks