Esempio n. 1
0
        public ActionResult Filter1(int id = 0)
        {
            ViewBag.CategoryID = id;
            List <Product> Products = ProductDataContext.InsertProducts2(id);

            return(View(Products));
        }
Esempio n. 2
0
        public ActionResult Insert(int id = 0)
        {
            List <Product> products = ProductDataContext.InsertProducts2(id);

            return(View(products));
        }