public async Task <TutorActionsDto> GetTutorActionsAsync(CancellationToken token) { var userId = _userManager.GetLongUserId(User); var query = new TutorActionsQuery(userId); return(await _queryBus.QueryAsync(query, token)); }
public async Task TutorActionsQuery_Ok(long userId) { var query = new TutorActionsQuery(userId); var result = await _fixture.QueryBus.QueryAsync(query, default); result.Should().NotBeNull(); }