Esempio n. 1
0
        public UnitOfWork(IEventBus eventBus,
                          AppUserContext appUserContext)
        {
            _eventBus       = eventBus;
            _appUserContext = appUserContext;

            Users = new AppUserRepositoryAsync(_appUserContext);
        }
Esempio n. 2
0
        public UnitOfWork(IEventBus eventBus,
                          IDatabaseClient client)
        {
            _eventBus = eventBus;
            _client   = client;

            Users = new AppUserRepositoryAsync(_client);
        }