Example #1
0
        public IQueryable <Permission> GetAllByModuleRoleOrUserId(int moduleId, int roleId, int?userId = null)
        {
            var list = _permissionService.GetAllByModuleRoleOrUserId(moduleId, roleId, userId);

            return(list.AsQueryable());
        }