I define a new route in my asp.net project
routes.MapRoute(
name: "Default",
url: "{controller}.{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
and controller (lets call it TempController) that have 2 actions :
- Index that does not get any argument
- CheckParameter that have one argument - input (string)
How to create a route to TempController to action CheckParameter?
Thanks for every answer!