c# razor url parameter from view
You can use the following:
Request.Params["paramName"]
See also: When do Request.Params and Request.Form differ?
I've found the solution in this thread
@(ViewContext.RouteData.Values["parameterName"])
@(ViewContext.RouteData.Values["parameterName"])
worked with ROUTE PARAM.
Request.Params["paramName"]
did not work with ROUTE PARAM.