// GET api/templates public async Task <Templates> Get() { await CheckAuthInfo(); var client = new DocuSignClient(BaseUrl, DocuSignCredentials); var templates = await client.GetTemplatesAsync(); return(templates); }
public async void GetTemplates() { var auth = new AuthenticationClient(_username, _password, _integratorKey); await auth.LoginInformationAsync(); var client = new DocuSignClient(auth); var templates = await client.GetTemplatesAsync(); Assert.IsNotNull(templates); }