public CustomerOperationProvider(IAccountManager accountManager) { _accountManager = accountManager; var config = new CustomerOperationServiceConfiguration(_accountManager); _customerOperationServiceClient = config.CustomerOperationServiceClient; }
public ClientsControl() { InitializeComponent(); CustomerSecService = new CustomerSecureServiceClient(); CustomerOperationService = new CustomerOperationServiceClient(); }
public CustomerOperationServiceConfiguration(IAccountManager accountManager) { _accountManager = accountManager; BasicHttpBinding httpBinding = new BasicHttpBinding(); CustomerOperationServiceClient = new CustomerOperationServiceClient(httpBinding, EndPoints.CustomerOperation); }