Пример #1
0
        private void Audit(IInvocation invocation)
        {
            AuditAttribute audit = invocation.GetAudit();

            if (audit != null)
            {
                AuditLogger.Add(Session.UserId ?? Guid.Empty, Session.Application, Session.IP,
                                audit.Source, audit.Action.ToString(), invocation.Arguments);
            }
        }