I have Controller Blog
I have Action Index() and Show(stirng id)
Index() displaying all posts and Show(sting id) displaying single post
I want to map Blog/Show/id to responce on Blog/id
So i went to Global.asxc and did that:
routes.MapRouteLowercase(
"Blog",
"Blog/{id}",
new { controller = "Blog", action = "Show", id = UrlParameter.Optional }
);
But it is seams not to be worked, may be some one may help?