Ejemplo n.º 1
0
        public async Task <Team[]> GetTeamsForPlayer(string username)
        {
            var teams = await _teamManager.GetTeamsForPlayerAsync(username);

            return(teams.Select(x => (Team)x).ToArray());
        }