public async Task PreloadCache() { var tasks = new List <Task>(); tasks.Add(_client.getFootballers()); tasks.Add(_client.getBootstrapStatic()); await Task.WhenAll(tasks); }
private async Task <IDictionary <int, Footballer> > getFootballers() { return(await _client.getFootballers()); }