public string executeAgain(ScriptsLogDTO scriptDTO) { string result = "-1"; if ((result = ScriptsLogData.executeSQL(scriptDTO)) != "") { return(result); } return(result); }
public string Post(ScriptsLogDTO scriptDTO) { string result = "-1"; if ((result = ScriptsLogData.executeSQL(scriptDTO)) != "") { if (!ScriptsLogData.insertScriptLog(scriptDTO)) { return(result); } } return(result); }