public ActionResult Product(int cateid = 0, int isonsale = -1) { ProductCache pcache = RemotingHelp.GetModelObject <ProductCache>(); ViewBag.productList = pcache.GetProductList(cateid, isonsale); ViewBag.cateid = cateid; PRODUCT product = RemotingHelp.GetModelObject <PRODUCT>(); ViewBag.cates = product.GetCategories(); ViewBag.isonsale = isonsale; return(View()); }