public UnitOfWork(IEventBus eventBus, AppUserContext appUserContext) { _eventBus = eventBus; _appUserContext = appUserContext; Users = new AppUserRepositoryAsync(_appUserContext); }
public UnitOfWork(IEventBus eventBus, IDatabaseClient client) { _eventBus = eventBus; _client = client; Users = new AppUserRepositoryAsync(_client); }