public PartialViewResult GetLaptops(string category) { var laptops = (from l in Laptop.GetProducts() where l.Category == category select l).AsEnumerable(); return(PartialView(laptops)); }