Example #1
0
        // GET: Shop/Details/5
        public ActionResult Details(string id)
        {
            var db = ShopOnline.ChiTiet(id);

            return(View(db));
        }
Example #2
0
        // GET: Shop
        public ActionResult Index(int page = 1, int pagesize = 3)
        {
            var db = ShopOnline.DanhSach().ToPagedList(page, pagesize);

            return(View(db));
        }