コード例 #1
0
 public async Task SetDefaultLanguage(SetDefaultLanguageInput input)
 {
     await _applicationLanguageManager.SetDefaultLanguageAsync(
         AbpSession.TenantId,
         GetCultureInfoByChecking(input.Name).Name
         );
 }
コード例 #2
0
 public async Task SetDefaultLanguage(SetDefaultLanguageInput input)
 {
     await _languageManager.SetDefaultLanguageAsync(
         AbpSession.TenantId,
         CultureHelper.GetCultureInfo(input.Name).Name
         );
 }