示例#1
0
        // GET: Customer/Edit/5
        public ActionResult Edit(int id)
        {
            Customer customer = _customService.GetCustomerById(id);

            if (customer != null)
            {
                return(View(customer));
            }

            return(View());
        }