コード例 #1
0
        public ActionResult AddCustomer(CustomerServiceReference.Customer customer)
        {
            int customerId = customerProxy.Create(customer);

            orderProxy.AddCustomer(orderId, customerId);
            tempOrderId = orderId;
            orderId     = 0;
            CreateOrder();

            return(RedirectToAction("Invoice"));
        }