Exemplo n.º 1
0
        public ActionResult ViewCompleteShop()
        {


            ProductBLL bll = new ProductBLL();
            List<ProductDetails> productDetails = bll.GetAllProducts();

            return View(productDetails);


        }
Exemplo n.º 2
0
        public ActionResult ProductSearch()
        {
            string SearchCriteria = Request.QueryString["q"];

            ProductBLL bll = new ProductBLL();
            List<ProductDetails> productDetails = bll.GetProducts(SearchCriteria);

            return View(productDetails);

           
        }