public String GetListOfLanguages() { SqlDataReader sqlr = this.broker.runQuery("AliasData", "SELECT * FROM LanguageMaster"); return(JsonUtils.getLanguageListAsJson(sqlr)); }
public String GetListOfCorrectedValues() { SqlDataReader sqlr = this.broker.runQuery("MLData", "SELECT * FROM trainingdata"); return(JsonUtils.getTrainingDataAsJson(sqlr)); }
public String GetListOfDomains() { SqlDataReader sqlr = this.broker.runQuery("AliasData", "SELECT * FROM DocTypeMaster"); return(JsonUtils.getDomainListAsJson(sqlr)); }
public String GetExportImportActivities() { SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM Tasks"); return(JsonUtils.getExportActivityAsJson(sqlr)); }
public String GetInvalidFiles() { SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM InvalidFiles"); return(JsonUtils.getInvalidFilesAsJson(sqlr)); }
public String GetCustomFields(String LearningInstanceID) { SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM CustomFieldDetail where ProjectId = '" + LearningInstanceID + "'"); return(JsonUtils.getCustomFieldsAsJson(sqlr)); }
public String GetIQBotLearningInstances() { SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM ProjectActivityDetail"); return(JsonUtils.getLIsAsJson(sqlr)); }
public String GetIQBotConfiguration() { SqlDataReader sqlr = this.broker.runQuery("Configurations", "select TOP 1 * from CognitivePlatformNodes"); return(JsonUtils.getConfigAsJson(sqlr)); }