public async Task SendShirtToCustomerAsync(Customer customer, string colorCode)
 {
     using (var client = new SendShirtServiceReference.SendShirtServiceClient())
     {
         await client.SendShirtToCustomerAsync(customer.Id, $"{customer.FirstName} {customer.LastName}", colorCode);
     }
 }
Esempio n. 2
0
 public void SendShirtToCustomer(Customer customer, string colorCode)
 {
     using (var client = new SendShirtServiceReference.SendShirtServiceClient())
     {
         client.SendShirtToCustomer(customer.Id, $"{customer.FirstName} {customer.LastName}", colorCode);
     }
 }