Пример #1
0
        public ActionResult ShopBySubCategory(int id)
        {
            HomeViewModel  model    = new HomeViewModel();
            List <Product> products = Handler.GetProductsBySubCategory(id);

            model.Products = products;

            return(View(model));
        }