public async Task <TutorActionsDto> GetTutorActionsAsync(CancellationToken token)
        {
            var userId = _userManager.GetLongUserId(User);
            var query  = new TutorActionsQuery(userId);

            return(await _queryBus.QueryAsync(query, token));
        }
Exemple #2
0
        public async Task TutorActionsQuery_Ok(long userId)
        {
            var query  = new TutorActionsQuery(userId);
            var result = await _fixture.QueryBus.QueryAsync(query, default);

            result.Should().NotBeNull();
        }