コード例 #1
0
        public dynamic GetAllEntityEndPointProperties(int entityId)
        {
            var orchestrator = new EntityOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetAllEntityEndPointProperties(entityId).GetResponse());
        }
コード例 #2
0
        public dynamic GetAllEntityChildrenRelationships(int entityId)
        {
            var orchestrator = new EntityOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetAllEntityChildrenRelationships(entityId).GetResponse());
        }
コード例 #3
0
        public dynamic EditEntity(int entityId, [FromBody] EditEntityInputModel model)
        {
            var orchestrator = new EntityOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.EditEntity(entityId, model).GetResponse());
        }
コード例 #4
0
        public dynamic CreateEntity([FromBody] CreateEntityInputModel model)
        {
            var orchestrator = new EntityOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.CreateEntity(model).GetResponse());
        }
コード例 #5
0
        public dynamic GetEntityDetails(int entityId)
        {
            var orchestrator = new EntityOrchestrator(new ModelStateWrapper(this.ModelState));

            return(orchestrator.GetEntityDetails(entityId).GetResponse());
        }
コード例 #6
0
        public dynamic GetAllEntities()
        {
            var orchestrator = new EntityOrchestrator(new ModelStateWrapper(this.ModelState));

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