auth(__FUNCTION__); return response()->json(GerenciamentoService::show($id), Response::HTTP_OK); } public function store() { $this->auth(__FUNCTION__); return response()->json(GerenciamentoService::store(), Response::HTTP_CREATED); } public function datatable() { return response()->json(GerenciamentoService::datatable(), Response::HTTP_OK); } public function update() { return response()->json(GerenciamentoService::update(), Response::HTTP_OK); } }