public function deleteOperator($operatorId) { $instId = session('instId'); try { $operator = new \Home\Model\OperatorModel(); $result = $operator->deleteOperator($instId, $operatorId); $data = "true"; } catch (Exception $e) { $data = "false"; } $this->ajaxReturn($data); }