public List <Player> AvailablePlayers(int teamId)
 {
     return(_matchRepository.AvailablePlayers(teamId));
 }