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