Пример #1
0
        public string Action_Set_DelDialog(string symbolMessage, AppLoader existedLoader)
        {
            Dictionary <string, string> activeParams = new Dictionary <string, string>();

            activeParams.Add("symbol", symbolMessage);
            if (existedLoader.ExecuteDeleteWithConditions(Global.GlobalDefines.DB_KEY_IKCODER_BASIC, Global.MapStoreProcedures.ikcoder_basic.spa_operation_messages_students, activeParams))
            {
                StringBuilder strReturnDoc = new StringBuilder();
                strReturnDoc.Append("<root type='passive'>");
                strReturnDoc.Append("<action>" + Global.ActionsMap.Action_Get_DialogList + "</action>");
                strReturnDoc.Append("</root>");
                return(strReturnDoc.ToString());
            }
            else
            {
                return("<root type='error'><errmsg>false</errmsg></root>");
            }
        }