Пример #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());
        }