public async Task <IReadOnlyList <Board> > QueryAsync(GetBoardsQuery query)
        {
            var results = await GetRequestAsync($"/rest/agile/1.0/board");

            var boards = _boardResultsResolver.Resolve(results);

            return(boards);
        }
        public async Task <IReadOnlyList <Epic> > QueryAsync(GetEpicsQuery query)
        {
            var results = await GetRequestAsync($"/rest/agile/1.0/board/{query.BoardId}/epic");

            var epics = _epicResultsResolver.Resolve(results);

            foreach (var epic in epics)
            {
                var userStoryResults = await _userStoriesQueryHandler.QueryAsync(new GetUserStoriesQuery { EpicId = epic.Id });

                epic.SubEntities = userStoryResults;
            }

            return(epics);
        }
        public async Task <IReadOnlyList <UserStory> > QueryAsync(GetUserStoriesQuery query)
        {
            var results = await GetRequestAsync($"/rest/agile/1.0/epic/{query.EpicId}/issue");

            return(_userStoryResultsResolver.Resolve(results));
        }