I have a page that displays some search options as links. Basically what these options do is just change a parameter of the current URL.
Of course I can iterate through the Request.Url.AbsoluteUri and build another URL with the parameters changed but I was wondering if there’s a better way to do that using some MVC feature.
Is there a way I can do that easily?
I think that there isn’t “simple way” becuase of the defualt values!
look at this question
But you can still use the @Url.Action and just change the params values, so it’s still a “Simple way”