//Update Order public async Task <dynamic> UpdateSalesOrder(SecurityToken token, SalesOrder order) { var client = new PaymentGateway.IeBizServiceClient(); var data = await client.UpdateSalesOrderAsync(token, order, order.CustomerId, order.SubCustomerId, order.SalesOrderNumber, order.SalesOrderInternalId); return(data); }