示例#1
0
        public void CheckQuyen(int id_nguoidung)
        {
            ModuleQuyen        modulequyen = new ModuleQuyen();
            List <ModuleQuyen> tb          = modulequyen.CheckQuyen(id_nguoidung);
            var js = new JavaScriptSerializer();

            Context.Response.Write(JsonConvert.SerializeObject(tb));
        }
示例#2
0
        public void LayDSModuleQuyen()
        {
            ModuleQuyen        modulequyen = new ModuleQuyen();
            List <ModuleQuyen> tb          = modulequyen.LayDanhSachModuleQuyen(1, 0, 0, "", 0);
            var js = new JavaScriptSerializer();

            Context.Response.Write(JsonConvert.SerializeObject(tb));
        }
示例#3
0
 public void ThemMoiModuleQuyen(int action, int id_modulequyen, int id_nguoidung, string module, int id_quyen)
 {
     ModuleQuyen        modulequyen = new ModuleQuyen();
     List <ModuleQuyen> tb          = modulequyen.LayDanhSachModuleQuyen(action, id_modulequyen, id_nguoidung, module, id_quyen);
 }