public override DeleteCustomerResponse Execute <T>(T transaction) { base.Execute(transaction); //Needed to inject Authorization headers ITrnDeleteCustomer data = (ITrnDeleteCustomer)transaction; var response = customersApi.DeleteCustomer(data.CustomerId); return(response); }
public DeleteCustomerResponse DeleteCustomer(ITrnDeleteCustomer data) { return(new CallDeleteCustomer(customersApi).Execute(data)); }