예제 #1
0
        // GET: Extend
        public ActionResult Index()
        {
            var category = ExtendRepository.GetCategory();

            ViewBag.Category = category;
            return(View());
        }
예제 #2
0
        public ActionResult Index()
        {
            var category   = _extendRepository.GetCategory();
            var ExtendType = _extendRepository.GetExtendTypeList(0);

            ViewBag.Category   = category;
            ViewBag.ExtendType = ExtendType;
            return(View());
        }