public void Save(EventHandlerAudit audit)
 {
     _sessionFactory.GetCurrentSession().SaveOrUpdate(audit);
 }
示例#2
0
 public void Save(EventHandlerAudit audit)
 {
     _sessionFactory.GetCurrentSession().SaveOrUpdate(audit);
 }
示例#3
0
        private void AuditLogStatus(SequencedEvent sequencedEvent)
        {
            var audit = new EventHandlerAudit(sequencedEvent.Event, DateTime.UtcNow, EventHandlerAuditResult.Success, BuildAuditSuccessMessage(sequencedEvent));

            _auditRepository.Add(audit);
        }