Esempio n. 1
0
        //
        // GET: /Product/

        public ActionResult Index()
        {
            bn_Product bnProduct = new bn_Product();
            var        model     = bnProduct.GetByTags("pbox");
            var        model1    = bnProduct.GetAll();

            return(View(model));
        }
Esempio n. 2
0
        public List <pb_Product> GetAll()
        {
            bn_Product bnProduct = new bn_Product(isLazy: false);

            return(bnProduct.GetAll());
        }