public ActionResult ShopBySubCategory(int id) { HomeViewModel model = new HomeViewModel(); List <Product> products = Handler.GetProductsBySubCategory(id); model.Products = products; return(View(model)); }
public ActionResult ShopBySubCategory(int id) { HomeViewModel model = new HomeViewModel(); List <Product> products = Handler.GetProductsBySubCategory(id); model.Products = products; return(View(model)); }