コード例 #1
0
        // GET api/templates
        public async Task <Templates> Get()
        {
            await CheckAuthInfo();

            var client = new DocuSignClient(BaseUrl, DocuSignCredentials);

            var templates = await client.GetTemplatesAsync();

            return(templates);
        }
コード例 #2
0
        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);
        }