public async Task <IEnumerable <MergeRequestDto> > GetMergeRequestsAsync()
        {
            this.IsPending = true;
            try
            {
                if (this.SelectedProjectId == null)
                {
                    throw new InvalidOperationException("SelectedProjectId is null");
                }

                using (var client = new GitLabClient(this.GitOptions))
                {
                    var requests = await client.GetMergeRequestsAsync(this.GitOptions.SelectedProjectId.Value);

                    return(requests);
                }
            }
            catch (Exception ex)
            {
                this.errorService.AddError(ex);
                return(new MergeRequestDto[0]);
            }
            finally
            {
                this.IsPending = false;
            }
        }