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