public ResponseWrapper <CreateIntPropertyModel> CreateIntProperty(CreateIntPropertyInputModel model)
        {
            var newEntity = new IntProperty
            {
                MaxValue   = model.MaxValue,
                MinValue   = model.MinValue,
                PropertyId = model.PropertyId,
                Property   =
                    new Property
                {
                    Name         = model.Property.Name,
                    PropertyType = model.Property.PropertyType,
                    EntityId     = model.Property.EntityId,
                },
            };

            context
            .IntProperties
            .Add(newEntity);

            context.SaveChanges();
            var response = new CreateIntPropertyModel
            {
                IntPropertyId = newEntity.IntPropertyId,
                MaxValue      = newEntity.MaxValue,
                MinValue      = newEntity.MinValue,
                PropertyId    = newEntity.PropertyId,
            };

            return(new ResponseWrapper <CreateIntPropertyModel>(_validationDictionary, response));
        }
        public dynamic CreateIntProperty([FromBody] CreateIntPropertyInputModel model)
        {
            var orchestrator = new IntPropertyOrchestrator(new ModelStateWrapper(this.ModelState));

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