Exemple #1
0
 public async Task <CustomerDTO[]> GetCustomers()
 {
     return(await Task.Factory.StartNew(() =>
     {
         return client.GetCustomerList();
     }).ConfigureAwait(false));
 }