예제 #1
0
        public ActionResult EditOrder(int?index)
        {
            if (index == null)
            {
                return(RedirectToAction("Index"));
            }

            ViewBag.edit_type = 1;

            return(View("Order", db_man.GetOrderById((int)index)));
        }