public async Task SetDefaultLanguage(SetDefaultLanguageInput input) { await _applicationLanguageManager.SetDefaultLanguageAsync( AbpSession.TenantId, GetCultureInfoByChecking(input.Name).Name ); }
public async Task SetDefaultLanguage(SetDefaultLanguageInput input) { await _languageManager.SetDefaultLanguageAsync( AbpSession.TenantId, CultureHelper.GetCultureInfo(input.Name).Name ); }
public async Task SetDefaultLanguageAsync(int?tenantId, string languageName) { await _languageManager.SetDefaultLanguageAsync(tenantId, languageName); }
public Task SetDefaultLanguage(ChangeLanguageInput changeLanguageInput) { return(_appLanguageManager.SetDefaultLanguageAsync(changeLanguageInput.TenantId, changeLanguageInput.LanguageName)); }