Exemple #1
0
        public String GetListOfLanguages()
        {
            SqlDataReader sqlr = this.broker.runQuery("AliasData", "SELECT * FROM LanguageMaster");

            return(JsonUtils.getLanguageListAsJson(sqlr));
        }
Exemple #2
0
        public String GetListOfCorrectedValues()
        {
            SqlDataReader sqlr = this.broker.runQuery("MLData", "SELECT * FROM trainingdata");

            return(JsonUtils.getTrainingDataAsJson(sqlr));
        }
Exemple #3
0
        public String GetListOfDomains()
        {
            SqlDataReader sqlr = this.broker.runQuery("AliasData", "SELECT * FROM DocTypeMaster");

            return(JsonUtils.getDomainListAsJson(sqlr));
        }
Exemple #4
0
        public String GetExportImportActivities()
        {
            SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM Tasks");

            return(JsonUtils.getExportActivityAsJson(sqlr));
        }
Exemple #5
0
        public String GetInvalidFiles()
        {
            SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM InvalidFiles");

            return(JsonUtils.getInvalidFilesAsJson(sqlr));
        }
Exemple #6
0
        public String GetCustomFields(String LearningInstanceID)
        {
            SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM CustomFieldDetail where ProjectId = '" + LearningInstanceID + "'");

            return(JsonUtils.getCustomFieldsAsJson(sqlr));
        }
Exemple #7
0
        public String GetIQBotLearningInstances()
        {
            SqlDataReader sqlr = this.broker.runQuery("FileManager", "SELECT * FROM ProjectActivityDetail");

            return(JsonUtils.getLIsAsJson(sqlr));
        }
Exemple #8
0
        public String GetIQBotConfiguration()
        {
            SqlDataReader sqlr = this.broker.runQuery("Configurations", "select TOP 1 * from CognitivePlatformNodes");

            return(JsonUtils.getConfigAsJson(sqlr));
        }