I am working on a project in MVC5 using c#. I have a requirement of url.
Like as I am hitting a url
"somesite.com/somepage?userid=1234&folderid=3210"
I want both ids in my action of controller.
but the problem is I want to display it in address bar like
somesite.com/Profile/{userid}
eg: "somesite.com/Profile/1234".
as per requirement folder id is not there in displayed url but it is there in request url. and I need this folderid on my action.
I do lot of R&D but didn't get any answer.
Thanks