public Customer[] FindCustomer(Customer exampleCustomer) { CustomerSearchCriteria criteria = Translator.Translate <CustomerSearchCriteria>(exampleCustomer); FindCustomerResponse response = _customerFinderProxy.FindCustomer(criteria); return(Translator.Translate <Customer[]>(response.Customers)); }
internal FindCustomerResponse CreateFindCustomerResponse(DataSet data) { FindCustomerResponse response = new FindCustomerResponse(); response.Customers = CreateCustomersFromDataSet(data); return(response); }