public void GetDocuments() { using (PandaDocHttpClient client = EnsureLoggedIn().Result) { PandaDocHttpResponse <GetDocumentsResponse> response = client.GetDocuments().Result; response.AssertOk(); } }
public async void GetDocumentsAsync() { using (PandaDocHttpClient client = await EnsureLoggedIn()) { PandaDocHttpResponse <GetDocumentsResponse> response = await client.GetDocuments(); response.AssertOk(); } }