i working in mvc4 with c# web application we have more controller and view in our web application we have configured route for all controller action method in route.config file as
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "User", action = "Login", id = UrlParameter.Optional }
);
it display the url like http://localhost:21638/WebFileViewer/WebDocumentViewer?fileId=21 in all over the application, we have one controller that task is to display the file uploaded by the client in the web browser the file viewer page has url like the above one it displays the file id in the url, i want to hide the query string parameter for this controller only how will i change the route configure file to aspect my requirement?
Expected resultant url: http://localhost:21638/WebFileViewer/WebDocumentViewer