public UserOnlyStore( IUow uow, IdentityErrorDescriber errorDescriber = null ) : base(errorDescriber ?? new IdentityErrorDescriber()) { _uow = uow; _session = uow.GetSession() ?? throw new ArgumentNullException(nameof(_session)); }
public async Task Create(Account account) { await _uow.GetSession().SaveAsync(account); await _uow.GetSession().FlushAsync(); }