public async Task<Dictionary<int, int>> GetPlatformTagsAsync()
{
var cacheJson = await _cacheManager.GetPlatformTagsAsync();
if (string.IsNullOrWhiteSpace(cacheJson))
{
var storageJson = await _storageManager.GetPlatformTagsAsync();
_cacheManager.SetPlatformTags(storageJson);
return JsonConvert.DeserializeObject<Dictionary<int, int>>(storageJson);
}
return JsonConvert.DeserializeObject<Dictionary<int, int>>(cacheJson);
}