Ejemplo n.º 1
0
 public async Task DeliiverAsync()
 {
     try
     {
         using (var client = _factory.CreateAuthorizedClient())
         {
             var apiClient = new ManagementDeliveriesClient(client);
             await apiClient.DeliverAsync();
         }
     }
     catch (System.Exception e)
     {
     }
 }
Ejemplo n.º 2
0
 public async Task DeliiverAsync()
 {
     try
     {
         using (var client = _factory.CreateAuthorizedClient())
         {
             var api       = Environment.GetEnvironmentVariable("TICKETTRADER_API_HOST");
             var apiClient = new ManagementDeliveriesClient(api, client);
             await apiClient.DeliverAsync();
         }
     }
     catch (System.Exception e)
     {
     }
 }