Пример #1
0
 /// <summary>
 /// Updates a document.
 /// </summary>
 /// <param name="documentId"></param>
 /// <param name="documentUpdateOptions"></param>
 /// <returns></returns>
 public async Task <Document> UpdateDocumentAsync(Guid documentId, DocumentUpdateOptions documentUpdateOptions)
 {
     return(await PatchAsync <Document>($"{Urls.SignatureDocuments}/{documentId}", documentUpdateOptions));
 }
Пример #2
0
 /// <summary>
 /// Updates a document.
 /// </summary>
 /// <param name="documentId"></param>
 /// <param name="documentUpdateOptions"></param>
 /// <returns></returns>
 public Document UpdateDocument(Guid documentId, DocumentUpdateOptions documentUpdateOptions)
 {
     return(Patch <Document>($"{Urls.SignatureDocuments}/{documentId}", documentUpdateOptions));
 }