void ISecurityBeforeExecuteAction.OnExecuteAction(ISecurityContext context)
        {
            var result = context.Assert();

            if (result.IsDenied)
            {
                throw result.SecurityError;
            }
        }
 void ISecurityBeforeExecuteAction.OnExecuteAction(ISecurityContext context)
 {
     var result = context.Assert();
     if (result.IsDenied)
         throw result.SecurityError;
 }