How to use Url.Action() in a class file?
Answers
Smith
2890
Points
78
Posts
|
@Url in your example is an instance of UrlHelper class. You can create an instance of it and use in any class like in the example below, but you need to have an access to the RequestContext of the corresponding View.
Posted On:
16-Jun-2017 02:37
great.. - hambi 13-Nov-2017 06:37
|