Exemplo n.º 1
0
 /// <summary>
 /// Modify existing note (comment) of an issue.
 /// </summary>
 /// <returns>The updated issue note.</returns>
 /// <param name="projectId">The ID, path or <see cref="Project"/> of the project.</param>
 /// <param name="issueIid">The IID of an issue.</param>
 /// <param name="noteId">The ID of a note.</param>
 /// <param name="request">Update issue note request.</param>
 public async Task <Note> UpdateNoteAsync(ProjectId projectId, int issueIid, int noteId, UpdateIssueNoteRequest request) =>
 await _httpFacade.Put <Note>($"projects/{projectId}/issues/{issueIid}/notes/{noteId}", request);
Exemplo n.º 2
0
 /// <summary>
 /// Modify existing note (comment) of an issue.
 /// </summary>
 /// <returns>The updated issue note.</returns>
 public async Task <Issue> UpdateNoteAsync(UpdateIssueNoteRequest request) =>
 await _httpFacade.Put <Issue>($"projects/{request.ProjectId}/issues/{request.IssueIid}/notes/{request.NoteId}", request);