Use REST style

This commit is contained in:
hishamco
2020-12-03 15:50:25 +03:00
parent 5ee38e4ae7
commit 1a8125c26d
5 changed files with 12 additions and 25 deletions

View File

@ -31,7 +31,7 @@
{
var interop = new Interop(JSRuntime);
_selectedCulture = await interop.GetLocalStorage("OqtaneCulture");
_supportedCultures = await LocalizationService.GetSupportedCultures();
_supportedCultures = await LocalizationService.GetCulturesAsync();
}
private async Task SetCultureAsync(string culture)