Exemplo n.º 1
0
        public dynamic EditApplication(int applicationId, [FromBody] EditApplicationInputModel model)
        {
            var orchestrator = new ApplicationOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.EditApplication(applicationId, model).GetResponse());
        }
Exemplo n.º 2
0
        public dynamic GetAllApplicationServices(int applicationId)
        {
            var orchestrator = new ApplicationOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetAllApplicationServices(applicationId).GetResponse());
        }
Exemplo n.º 3
0
        public dynamic CreateApplication([FromBody] CreateApplicationInputModel model)
        {
            var orchestrator = new ApplicationOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.CreateApplication(model).GetResponse());
        }