/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id, $noteId) { return $this->repository->findWhere(['project_id' => $id, 'id' => $noteId]); }