Пример #1
0
        public dynamic GetAllEndPointEndPointParameters(int endpointId)
        {
            var orchestrator = new EndPointOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetAllEndPointEndPointParameters(endpointId).GetResponse());
        }
Пример #2
0
        public dynamic GetEndPointGetDetailsEndPoint(int endpointId)
        {
            var orchestrator = new EndPointOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetEndPointGetDetailsEndPoint(endpointId).GetResponse());
        }
Пример #3
0
        public dynamic CreateEndPoint([FromBody] CreateEndPointInputModel model)
        {
            var orchestrator = new EndPointOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.CreateEndPoint(model).GetResponse());
        }
Пример #4
0
        public dynamic EditEndPoint(int endpointId, [FromBody] EditEndPointInputModel model)
        {
            var orchestrator = new EndPointOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.EditEndPoint(endpointId, model).GetResponse());
        }
Пример #5
0
        public dynamic GetAllEndPoints()
        {
            var orchestrator = new EndPointOrchestrator(new ModelStateWrapper(this.ModelState));

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