Skip to content

Commit 6b0234e

Browse files
committed
Fixing step 3 codeDepot markers which were in the wrong place
1 parent ccd4584 commit 6b0234e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launcher-csharp/WebForms/Examples/CreateAndEmbedFormService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ public static class CreateAndEmbedFormService
1717
{
1818
public static WebFormSummaryList GetForms(Client.DocuSignClient docuSignClient, string accountId)
1919
{
20+
//ds-snippet-start:WebForms1Step3
2021
FormManagementApi formManagementApi = new FormManagementApi(docuSignClient);
2122
FormManagementApi.ListFormsOptions listFormsOptions = new FormManagementApi.ListFormsOptions();
2223
listFormsOptions.search = "Web Form Example Template";
2324
return formManagementApi.ListForms(accountId, listFormsOptions);
25+
//ds-snippet-end:WebForms1Step3
2426
}
2527

2628
public static void AddTemplateIdToForm(string fileLocation, string templateId)
@@ -73,13 +75,11 @@ public static List<EnvelopeTemplate> GetTemplatesByName(
7375
string accountId,
7476
string templateName)
7577
{
76-
//ds-snippet-start:WebForms1Step3
7778
var templatesApi = new TemplatesApi(docuSignClient);
7879
var listTemplateOptions = new TemplatesApi.ListTemplatesOptions();
7980
listTemplateOptions.searchText = templateName;
8081

8182
EnvelopeTemplateResults templates = templatesApi.ListTemplates(accountId, listTemplateOptions);
82-
//ds-snippet-end:WebForms1Step3
8383

8484
return templates.EnvelopeTemplates;
8585
}

0 commit comments

Comments
 (0)