public IActionResult SetProperties(int id, PropertySetItemGroup[] properties) { PTMKernelService.SetConfigurationProperties(id, properties.Select(group => new PropertyGroup { Name = group.Name, Items = group.Items.Select(item => new Property { Key = item.Key, Value = item.Value, }), })); return(Ok()); }