public PropertyGetItemGroup[] GetProperties(int id)
        {
            var properties = PTMKernelService.GetConfigurationProperties(id);

            var result = properties.Select(group => new PropertyGetItemGroup
            {
                Name  = group.Name,
                Items = group.Items.Select(property => new PropertyGetItem
                {
                    Key         = property.Key,
                    Name        = property.Name,
                    Description = property.Description,
                    Choices     = property.Choices?.ToArray(),
                    Value       = property.Value,
                }).ToArray(),
            }).ToArray();

            return(result);
        }