auth(__FUNCTION__); return response()->json( FechamentoFaaService::list(), Response::HTTP_OK ); } public function procedimento() { return response()->json( FechamentoFaaService::getProcedimentosFaa(), Response::HTTP_OK ); } public function index() { $this->auth(__FUNCTION__); return response()->json( FechamentoFaaService::index(), Response::HTTP_OK ); } public function update($id) { $this->auth(__FUNCTION__); return response()->json( FechamentoFaaService::update($id), Response::HTTP_CREATED ); } public function cancelarFaa($id) { return response()->json( FechamentoFaaService::cancelarFaa($id), Response::HTTP_CREATED ); } }