Example #1
0
        public ActionResult Index(string id)
        {
            ViewBag.ListCategory = listProductCategory;
            ViewBag.ListSupplier = listSupplierInfo;
            string strFilterString             = "";
            string strPageIndex                = "1";
            string strPageSize                 = "30";
            string strSortField                = "";
            bool   IsASC                       = true;
            IList <Model.ProductInfo> listProd = null;

            listProd = bll.GetProduct(strFilterString, strPageIndex, strPageSize, strSortField, IsASC);
            return(View(listProd));
        }