private async Task PopulateSettings()
        {
            var settings = _data.Settings();

            foreach (var setting in settings)
            {
                Type settingType = setting.GetType();
                int  storeId     = settingType.Equals(typeof(ThemeSettings)) ? _defaultStoreId : 0;
                await SettingFactory.SaveSettingsAsync(_db, setting, storeId);
            }
        }