I'm trying to hide the data from begin watched in the url, For example here is my route
:
routes.MapRoute(
"Viewer",
"viewer/{id}",
new { controller = "Viewer", action = "Index" }
);
and here is the controller method:
public ActionResult Index(int id)
{}
as you see when i call the method it's gonna route and show the url like this :
www.domain.com/viewer/1234
I want to remove the Id from begin watched and i want keep the method running as expected like this
www.domain.com/viewer
So how i can do that ?