/// <summary>
 /// Accepts merge request.
 /// </summary>
 /// <returns>The accepted merge request.</returns>
 /// /// <param name="projectId">The ID, path or <see cref="Project"/> of the project.</param>
 /// <param name="mergeRequestId">The Internal Merge Request Id.</param>
 /// <param name="request">Accept Merge request.</param>
 public async Task <MergeRequest> AcceptAsync(ProjectId projectId, int mergeRequestId, AcceptMergeRequest request)
 {
     return(await _httpFacade.Put <MergeRequest>(
                $"projects/{projectId}/merge_requests/{mergeRequestId}/merge", request));
 }
 /// <summary>
 /// Rebase.
 /// </summary>
 /// <param name="projectId">The ID, path or <see cref="Project"/> of the project.</param>
 /// <param name="mergeRequestId">The Internal Merge Request Id.</param>
 /// <param name="request">Accept and Rebase Merge Request note request.</param>
 public async Task AcceptAndRebaseAsync(ProjectId projectId, int mergeRequestId, AcceptMergeRequest request)
 {
     await _httpFacade.Put($"projects/{projectId}/merge_requests/{mergeRequestId}/rebase", request);
 }