public function show($id, $memberId) { if ($this->service->checkProjectPermissions($id) == false) { return ['error' => 'Access forbidden']; } return $this->service->showMember($id, $memberId); }