1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-09 11:54:41 -05:00

write events to table storage

This commit is contained in:
Kyle Spearrin
2017-12-08 16:03:20 -05:00
parent 8626d7e769
commit 83a7c98fae
5 changed files with 78 additions and 15 deletions

View File

@ -8,14 +8,11 @@ namespace Bit.Core.Services
public class RepositoryEventWriteService : IEventWriteService
{
private readonly IEventRepository _eventRepository;
private readonly GlobalSettings _globalSettings;
public RepositoryEventWriteService(
IEventRepository eventRepository,
GlobalSettings globalSettings)
IEventRepository eventRepository)
{
_eventRepository = eventRepository;
_globalSettings = globalSettings;
}
public async Task CreateAsync(EventTableEntity entity)