第一种:
获取controller名称:ViewContext.RouteData.Values["controller"]
获取action名称:ViewContext.RouteData.Values["action"]
第二种:
获取controller名称:ViewContext.Controller.ValueProvider.GetValue("controller").RawValue
获取action名称:ViewContext.Controller.ValueProvider.GetValue("action").RawValue