public ActionResult GetOne(Int32 id)
{
return View(id, "GetOne");
}
Specifying the view name explicitly overrides the default, which is to use the action key in the route values collection, which is equal to "GetAll" in this case.
Craig Stuntz
2009-09-16 20:37:11