예제 #1
0
        public SchedulingService()
        {
            DataEntities db = new DataEntities();

            leagueRepo   = new LeagueRepo(db);
            stagesRepo   = new StagesRepo(db);
            groupesRepo  = new GroupsRepo(db);
            gamesRepo    = new GamesRepo(db);
            bracketsRepo = new BracketsRepo(db, gamesRepo);
            teamsRepo    = new TeamsRepo(db);
        }
예제 #2
0
 public BracketsRepo(DataEntities db, GamesRepo gRepo) : base(db)
 {
     _gameRepo = gRepo;
 }