public ActionResult Index() { setDDlistLoaiSanPhamCha(); var model = DanhMucCon.getLoai_byRoot(1); return(View(model)); }
public JsonResult ChangeLoaiSanPham(int ID_LOAISANPHAM) { var result = DanhMucCon.getLoai_byRoot(ID_LOAISANPHAM); return(Json(new { status = result }, JsonRequestBehavior.AllowGet)); }