public ActionResult ViewCompleteShop() { ProductBLL bll = new ProductBLL(); List<ProductDetails> productDetails = bll.GetAllProducts(); return View(productDetails); }
public ActionResult ProductSearch() { string SearchCriteria = Request.QueryString["q"]; ProductBLL bll = new ProductBLL(); List<ProductDetails> productDetails = bll.GetProducts(SearchCriteria); return View(productDetails); }