Example #1
0
 public async Task <CustomerDTO[]> GetCustomersByPostalCode(string PostalCode)
 {
     return(await Task.Factory.StartNew(() =>
     {
         Int32.Parse(PostalCode);
         return client.GetCustomersByPostalCode(PostalCode);
     }).ConfigureAwait(false));
 }