public Customer[] FindCustomer(Customer exampleCustomer)
        {
            CustomerSearchCriteria criteria = Translator.Translate <CustomerSearchCriteria>(exampleCustomer);
            FindCustomerResponse   response = _customerFinderProxy.FindCustomer(criteria);

            return(Translator.Translate <Customer[]>(response.Customers));
        }
Exemplo n.º 2
0
    internal FindCustomerResponse CreateFindCustomerResponse(DataSet data)
    {
        FindCustomerResponse response = new FindCustomerResponse();

        response.Customers = CreateCustomersFromDataSet(data);
        return(response);
    }