コード例 #1
0
        public async Task CreateAsync(ActivityLogEntry entry)
        {
            entry.Date = DateTime.UtcNow;

            await _repo.CreateAsync(entry);

            EntryCreated?.Invoke(this, new GenericEventArgs <ActivityLogEntry>(entry));
        }