public async Task <(IEnumerable <Pipeline> pipelines, int totalPages)> FetchNewestPipelines(string apiHost, string apiKey, string apiProjectId, int page, int perPage)
        {
            var apiClient = new GitLabClient(apiHost, apiKey);

            var apiResult = await apiClient.FetchNewestPipelines(apiProjectId, page, perPage);

            var fullInfoPipelines = await Task.WhenAll(apiResult.pipelines.Select(p => FetchPipelineById(apiHost, apiKey, apiProjectId, p.Id)));

            return(fullInfoPipelines, apiResult.totalPages);
        }