Exemplo n.º 1
0
        public ActionResult SPKhuyenMai()
        {
            var model = new SANPHAMFunction().SPKhuyenMai();
            var query = model.OrderByDescending(p => p.ID_KM);

            return(View(query.ToList()));
        }
Exemplo n.º 2
0
        public ActionResult ViewBL()
        {
            var model = new SANPHAMFunction().ViewBL();
            var query = model.OrderByDescending(p => p.username);

            return(PartialView(query.ToList()));
        }