Exemplo 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());
        }
Exemplo n.º 2
0
        public dynamic GetDataSourceRelationDetails(int datasourcerelationId)
        {
            var orchestrator = new DataSourceRelationOrchestrator(new ModelStateWrapper(this.ModelState));

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

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

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