Hello everyone,
i need urls like /controller/verb/noun/id and my action methods would be verb+noun. for example i want /home/edit/team/3 to hit the action method
public ActionResult editteam(int id){}
i have following route in my global.asax file.
routes.MapRoute(
"test",
"{controller}.mvc/{verb}/{noun}/{id}",
new { docid = "", action = "{verb}"+"{noun}", id = "" }
);
urls correctly match the route but i don't know where should i construct the action parameter that is name of action method being called.
regards