public ActionResult Filter1(int id = 0) { ViewBag.CategoryID = id; List <Product> Products = ProductDataContext.InsertProducts2(id); return(View(Products)); }
public ActionResult Insert(int id = 0) { List <Product> products = ProductDataContext.InsertProducts2(id); return(View(products)); }