// // GET: /Product/ public ActionResult Index() { bn_Product bnProduct = new bn_Product(); var model = bnProduct.GetByTags("pbox"); var model1 = bnProduct.GetAll(); return(View(model)); }
public ActionResult Filter(string request) { bn_Product bnProduct = new bn_Product(); var model = bnProduct.GetByTags(request); var tags = bn_HashTag.DivTags(request); ViewBag.Tags = tags; ViewBag.FilterRequest = bn_HashTag.MergerTag(tags); return(View(model)); }