i have a number of asp.net-mvc controller actions that look like this:
public ActionResult Home()
{
return View(new MyViewModel("Home"));
}
public ActionResult Architecture()
{
return View(new MyViewModel("Architecture"));
}
is there anyway to get the name of the method that i am in to avoid having to hard code the string "Home" or "Architecture" ??