示例#1
0
        public ActionResult DS_Gia_SP_TheoID(string id, bool hasAll = false, int idSelected = 0, bool isDisable = false, int id_product = 0)
        {
            ViewBag.id         = id;
            ViewBag.hasAll     = hasAll;
            ViewBag.idSelected = idSelected;
            ViewBag.isDisable  = isDisable;

            var db     = new CommonBusiness();
            var result = db.CM_DS_Gia_SP_TheoID(id_product);

            // return Json(new { result }, JsonRequestBehavior.AllowGet);
            return(PartialView(result));
        }