public async Task <Team[]> GetTeamsForPlayer(string username) { var teams = await _teamManager.GetTeamsForPlayerAsync(username); return(teams.Select(x => (Team)x).ToArray()); }