示例#1
0
        public ActionResult Filter3(int id = 0)
        {
            ViewBag.CategoryID = id;
            List <Product> Products = ProductDataContext.InsertProducts21(id);

            return(View(Products));
        }
示例#2
0
        public ActionResult Insert11(int id = 0)
        {
            ViewBag.CategoryID = id;
            List <Product> products = ProductDataContext.InsertProducts21(id);

            return(Json(products, JsonRequestBehavior.AllowGet));
        }