Esempio n. 1
0
 public async Task <PlayerStats> GetPlayersStat(string name)
 {
     return(await cache.GetFromCacheOrRunAsync(
                $"pl-{name}",
                () => service.GetPlayerStats(name)
                ));
 }