public ActionResult Product(string loai, string brand, int page = 1) { ViewBag.Brand = brand; Models.Product pro = new Models.Product(); return(View("Index", pro.GetProductByCategoryAndBrand(loai, brand).ToPagedList(page, 6))); }
public ActionResult Product(string loai, string brand, int page = 1) { ViewBag.Brand = brand; Models.Product pro = new Models.Product(); return(View("Index", pro.GetProductByCategoryAndBrand(loai, brand).ToPagedList(page, 6))); }