Beispiel #1
0
        public dynamic EditEntity(int entityId, [FromBody] TestEditEntityInputModel model)
        {
            var orchestrator = new EntityTestOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.EditEntity(entityId, model).GetResponse());
        }
Beispiel #2
0
        public dynamic PutEntity([FromBody] EntityPutInputModel model)
        {
            var orchestrator = new EntityTestOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.PutEntity(model).GetResponse());
        }
Beispiel #3
0
        public dynamic EntityProperties(int entityId)
        {
            var orchestrator = new EntityTestOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.EntityProperties(entityId).GetResponse());
        }
Beispiel #4
0
        public dynamic DeleteEntity(int entityId)
        {
            var orchestrator = new EntityTestOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.DeleteEntity(entityId).GetResponse());
        }
Beispiel #5
0
        public dynamic Custom()
        {
            var orchestrator = new EntityTestOrchestrator(new ModelStateWrapper(this.ModelState));

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