private IEnumerable<SelectListItem> GetAvailableLanguages(string cultureName)
        {
            var rm = new ResourceManager(typeof(AppResource));
            var cultures = CultureHelpers.GetImplementedCultures(rm);
            var selectedCulture = CultureHelpers.GetImplementedCulture(rm, cultureName);
            var result = cultures.Select(i => new SelectListItem
            {
                Value = i.Name,
                Text = rm.GetLocalizeString("Language", i) ?? i.TextInfo.ToTitleCase(i.NativeName),
                Selected = i.Equals(selectedCulture)
            });

            return result;
        }