public function getClient($id) { try { return ["success" => $this->repository->find($id)]; } catch (\Exception $e) { return ["success" => false, "message" => "Client ID: {$id} not found"]; } }