コード例 #1
0
        //按选择的角色及模块加载模块的权限项
        public List <P_Sys_GetRightByRoleAndModule_Result> GetRightByRoleAndModule(string roleId, string moduleId)
        {
            List <P_Sys_GetRightByRoleAndModule_Result> result = null;

            using (AppDBContainer db = new AppDBContainer())
            {
                result = db.P_Sys_GetRightByRoleAndModule(roleId, moduleId).ToList();
            }
            return(result);
        }