Beispiel #1
0
        public ActionResult FindSub(int id)
        {
            //  Response.Write(" Data : " + id);
            List <Product>     prod = po.getAllProductByType(id);
            List <ProductType> cat  = new List <ProductType>();

            model.catType = cat;
            model.prod    = prod;
            return(View("Index", model));
        }