auth(__FUNCTION__); return response()->json(PacienteService::index(), Response::HTTP_OK); } public function show($idPaciente) { $this->auth(__FUNCTION__); return response()->json(PacienteService::show($idPaciente), Response::HTTP_OK); } }