Exemple #1
0
        /// <summary>
        /// Returns all Role connected to a single Right For the 'RoleRight' relationship
        /// </summary>
        public IQueryable <IRoleDataModel> GetAllRoleByRightForRoleRight(int rightId, IModelContext context = null)
        {
            changeHandler.BeforeGetAllRoleByRightForRoleRight(rightId, context);
            var rtn = dal.GetAllRoleByRightForRoleRight(rightId, context);

            changeHandler.AfterGetAllRoleByRightForRoleRight(rtn, rightId, context);
            return(rtn);
        }