Beispiel #1
0
        public List <string> GetThemes()
        {
            List <string> result = new List <string>();

            var themes = _globalOptionService.GetOptions()
                         .Where(o => o.OptionKey.StartsWith(ApplicationSettingsConstant.ThemePrefix))
                         .ToList();

            if (themes.Count > 0)
            {
                result.AddRange(themes.Select(t => t.OptionValue));
            }

            return(result);
        }