Beispiel #1
0
 public List <string> GetTeamList(string withoutTeam_name = "")
 {
     teamList = _interactionController.GetTeamList();
     if (withoutTeam_name == "")
     {
         return(teamList.Select(it => it.Team_name).ToList());
     }
     else
     {
         return(teamList.Where(it => it.Team_name != withoutTeam_name).Select(it => it.Team_name).ToList());
     }
 }
Beispiel #2
0
        public BridgeToInterfaceController()
        {
            _interactionController = new InteractionController.InteractionController(Discipline.Football);
            _network           = new NetworkController.NetworkController(Discipline.Football);
            _interpritator     = new InterpritatorController.InterpritatorController(Discipline.Football);
            matchesForLearning = new Dictionary <LastMatch, List <LastMatch> >();
            teamList           = _interactionController.GetTeamList();
            MatchesCount       = 1000;
            learningResult     = string.Empty;

            lastMatchesA = new List <LastMatch>();
            lastMatchesB = new List <LastMatch>();
        }
 public List <TeamInfo> GetTeamList()
 {
     return(_disciplineController.GetTeamList());
 }