File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
launcher-csharp/WebForms/Examples Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments