Esempio n. 1
0
        public dynamic EditDataSourceRelation(int datasourcerelationId, [FromBody] EditDataSourceRelationInputModel model)
        {
            var orchestrator = new DataSourceRelationOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.EditDataSourceRelation(datasourcerelationId, model).GetResponse());
        }
Esempio n. 2
0
        public dynamic GetDataSourceRelationDetails(int datasourcerelationId)
        {
            var orchestrator = new DataSourceRelationOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetDataSourceRelationDetails(datasourcerelationId).GetResponse());
        }
Esempio n. 3
0
        public dynamic CreateDataSourceRelation([FromBody] CreateDataSourceRelationInputModel model)
        {
            var orchestrator = new DataSourceRelationOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.CreateDataSourceRelation(model).GetResponse());
        }
Esempio n. 4
0
        public dynamic GetAllDataSourceRelations()
        {
            var orchestrator = new DataSourceRelationOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetAllDataSourceRelations().GetResponse());
        }