// // GET: /Product/ public ActionResult Index() { bn_Product bnProduct = new bn_Product(); var model = bnProduct.GetByTags("pbox"); var model1 = bnProduct.GetAll(); return(View(model)); }
public List <pb_Product> GetAll() { bn_Product bnProduct = new bn_Product(isLazy: false); return(bnProduct.GetAll()); }