示例#1
0
        //Add New Customer
        public async Task <dynamic> AddNewCustomer(Customer customer, SecurityToken securityToken)
        {
            Response      response = new Response();
            SecurityToken token    = await GetSecurityToken();

            var client = new PaymentGateway.IeBizServiceClient();

            response.CustomerResponse = await client.AddCustomerAsync(token, customer);

            return(response.CustomerResponse);
        }