Example #1
0
        public ActionResult Search(int id = 0)
        {
            ViewBag.CategoryID = id;
            List <Product> products = ProductDataContext.LoadProducts1(id);

            return(View(products));
        }