public function read($id) { try { return response()->json($this->repository->with(['owner', 'client'])->find($id)); } catch (ModelNotFoundException $ex) { return $this->notFound($id); } }