permissionRepository->all(); } public function allNoTree(): ?Collection { return $this->permissionRepository->allNoTree(); } public function find(int $id): ?Permission { return $this->permissionRepository->find($id); } public function findByScope(string $scope): ?Permission { return $this->permissionRepository->findByScope($scope); } public function store(PermissionDto $permissionDto): Permission { return $this->permissionRepository->store($permissionDto); } public function update(PermissionDto $permissionDto, int $id): ?Permission { return $this->permissionRepository->update($permissionDto, $id); } public function delete(int $id): bool { return $this->permissionRepository->delete($id); } }