public UserOnlyStore(
     IUow uow,
     IdentityErrorDescriber errorDescriber = null
     ) : base(errorDescriber ?? new IdentityErrorDescriber())
 {
     _uow     = uow;
     _session = uow.GetSession() ?? throw new ArgumentNullException(nameof(_session));
 }
Пример #2
0
        public async Task Create(Account account)
        {
            await _uow.GetSession().SaveAsync(account);

            await _uow.GetSession().FlushAsync();
        }