public async Task <UserReferralsDto> GetReferralsAsync(CancellationToken token) { var userId = _userManager.GetLongUserId(User); var query = new UserReferralsQuery(userId); return(await _queryBus.QueryAsync(query, token)); }
public async Task UserReferralsQuery_Ok() { var query = new UserReferralsQuery(159039); var _ = await fixture.QueryBus.QueryAsync(query, default); }