public void Save(EventHandlerAudit audit) { _sessionFactory.GetCurrentSession().SaveOrUpdate(audit); }
public void Save(EventHandlerAudit audit) { _sessionFactory.GetCurrentSession().SaveOrUpdate(audit); }
private void AuditLogStatus(SequencedEvent sequencedEvent) { var audit = new EventHandlerAudit(sequencedEvent.Event, DateTime.UtcNow, EventHandlerAuditResult.Success, BuildAuditSuccessMessage(sequencedEvent)); _auditRepository.Add(audit); }