Beispiel #1
0
 public void CreateEventLog(EventLog eventLog)
 {
     using (var db = new Database(_settings))
     {
         db.Insert(eventLog);
     }
 }
Beispiel #2
0
        public void CreateEventLog(EventLog eventLog)
        {
            eventLog.Created = DateTime.Now;
            eventLog.UserId = UserIdentity.Current.User.Id;

            _eventRepository.CreateEventLog(eventLog);
        }