auth(__FUNCTION__); return response()->json(BaixaService::create($materialId), Response::HTTP_OK); } public function store() { $this->auth(__FUNCTION__); return response()->json(BaixaService::store(), Response::HTTP_CREATED); } public function reverse($saidaItemId) { $this->auth(__FUNCTION__); return response()->json(BaixaService::reverse($saidaItemId), Response::HTTP_OK); } }