Esempio n. 1
0
        public string executeAgain(ScriptsLogDTO scriptDTO)
        {
            string result = "-1";

            if ((result = ScriptsLogData.executeSQL(scriptDTO)) != "")
            {
                return(result);
            }
            return(result);
        }
Esempio n. 2
0
        public string Post(ScriptsLogDTO scriptDTO)
        {
            string result = "-1";

            if ((result = ScriptsLogData.executeSQL(scriptDTO)) != "")
            {
                if (!ScriptsLogData.insertScriptLog(scriptDTO))
                {
                    return(result);
                }
            }
            return(result);
        }