internal bool HasPermission(ActionDetails a) { var perm = _t.GetCustomAttributes (typeof(IPermission), true).FirstOrDefault() as IPermission; if (perm != null) return perm.HasPermission(a); else return true; }
public virtual bool HasPermission(ActionDetails a) { return true; }