Closed CodersExpo closed 5 years ago
Ok I'm a fool. I did not set await! Arrg.
So, for anyone reading be sure to do something like...
var zohoCustomer = await zohoTransactions.GetZohoCustomer(customerId);
...on an async method. ie:
public async Task<string> GetResellerById(string customerId)
I wasn't waiting for a response! Oh my...
Nice api thanks for this!
I'm calling await subscription.Customers.GetAsync(customerId); and I get nothing back. No error. Nothing.
I wrote my own just to validate and it works fine. ` public string ExecutePostRequest(byte[] reqData, string resource) { string zohoResponse = string.Empty;
Question, am I missing a dependency or something?? If there was an error does this bubble up?