I have the following in my controller where I am passing in 2 parameters:
url = Url.Action("ViewReq ", "ProgramT ", new System.Web.Routing.RouteValueDictionary(new { id = spid pgid = pid }), "http", Request.Url.Host);
When I view this, it shows up as:
http://localhost/Masa/ProgramT/ViewReq/20036?pgid=00001
I like it to show up as:
http://localhost/Masa/ProgramT/ViewReq?id=20036&pgid=00001
How do I modify the UrlAction to show this way?