Skip to content

Commit

Permalink
Fix readme link, fix params order for Template examples
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNDRmac committed Jul 17, 2021
1 parent 7fe2b0b commit d51b367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ If you have questions about the SignNow API, please visit [SignNow API Reference
[upload_document example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Documents/UploadDocument.cs#33
[upload_doc_extract example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Documents/UploadDocument.cs#14
[download_signed_doc example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Documents/DownloadSignedDocument.cs
[get_document example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Documents/UploadDocument.cs#48
[get_document example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Documents/CheckTheStatusOfTheDocument.cs
[merge_documents example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Documents/MergeTwoDocuments.cs
[create_sign_lnk example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Documents/CreateSigningLinkToTheDocument.cs
[create_ff_invite example]: https://github.com/signnow/SignNow.NET/blob/develop/SignNow.Net.Examples/Invites/CreateFreeformInviteToSignTheDocument.cs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ public static partial class DocumentExamples
/// <param name="documentName">The name of new document</param>
/// <param name="token">Access token</param>
/// <returns><see cref="CreateDocumentFromTemplateResponse"/>New document ID</returns>
public static async Task<CreateDocumentFromTemplateResponse> CreateDocumentFromTheTemplate(string documentName, string templateId, Token token)
public static async Task<CreateDocumentFromTemplateResponse> CreateDocumentFromTheTemplate(string templateId, string documentName, Token token)
{
// using token from the Authorization step
var signNowContext = new SignNowContext(token);

return await signNowContext.Documents
.CreateDocumentFromTemplateAsync(documentName, templateId)
.CreateDocumentFromTemplateAsync(templateId, documentName)
.ConfigureAwait(false);
}
}
Expand Down

0 comments on commit d51b367

Please sign in to comment.