In get action method i'm returning view and passing model to it.
return View("MyView", model);
Then i get required view with model details in url.
host:/response?id=1&otherId=2 ...
I want to have next url:
host:/response
How to get it? Or how to map route the way i wanted?
in your solution explorer, go to
App_Startfolder. in that folder openRouteConfig.csfile. Open it. You will show something likechange
url:as you want to show. If you dont want to seeidin your url, i recommend you to make a new MapRoute and dont includeidin it