public override Task OnActivateAsync() { _virtualPlayers = _leagueService.GetPlayers() .Take(22) .Select(x => new MatchPlayer { Id = x.Id, Name = Name(x.FirstName, x.LastName) }) .ToArray(); return(base.OnActivateAsync()); }
public override Task OnActivateAsync() { _virtualPlayers = _leagueService.GetPlayers() .Take(22) .Select(x => new MatchPlayer { Id = x.Id, Name = Name(x.FirstName, x.LastName) }) .ToArray(); return(base.OnActivateAsync()); }