コード例 #1
0
        public dynamic GetAllEndPointModelEndPointModelProperties(int endpointmodelId)
        {
            var orchestrator = new EndPointModelOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetAllEndPointModelEndPointModelProperties(endpointmodelId).GetResponse());
        }
コード例 #2
0
        public dynamic CreateEndPointModel([FromBody] CreateEndPointModelInputModel model)
        {
            var orchestrator = new EndPointModelOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.CreateEndPointModel(model).GetResponse());
        }
コード例 #3
0
        public dynamic EditEndPointModel(int endpointmodelId, [FromBody] EditEndPointModelInputModel model)
        {
            var orchestrator = new EndPointModelOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.EditEndPointModel(endpointmodelId, model).GetResponse());
        }
コード例 #4
0
        public dynamic GetAllEndPointModels()
        {
            var orchestrator = new EndPointModelOrchestrator(new ModelStateWrapper(this.ModelState));

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