我写了一个public class PowerInfoAttribute:Attribute
用来放在Action头
[PowerInfo(PowerArea = 202, PowerID = 1)]
public ActionResult GetTeamList()
[PowerInfo(PowerArea = 202, PowerID = 2)]
public ActionResult GetTeamList()
我又设置了一个PowerFilter 经行拦截 有权限的才能执行。
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
我怎么才能获取到Action的PowerID和PowerArea呢?
}