Exemplo n.º 1
0
 public async void LoadMatchesAway(Team team, KeyValuePair <Guid, string> selectedSeason)
 {
     await Task.Run(() => {
         var matches       = _resourceAccess.GetMatchesAway(team, selectedSeason).OrderByDescending(match => match.Date).Take(5);
         MatchesAwayString = string.Join(",\n", matches.Select(o => o.ToString()));
     });
 }