예제 #1
0
 public GroupController()
 {
     dtoGroupConverter = new DTOGroupConverter();
     var facade = new DALFacade();
     groupRepository = facade.GetGroupRepository();
     teamRepository = facade.GetTeamRepository();
     playerRepository = facade.GetPlayerRepository();
 }
예제 #2
0
 public MatchController()
 {
     DtoMatcbConverter = new DTOMatchConverter();
     var facade = new DALFacade();
     matchRepository = facade.GetMatchRepository();
     teamRepository = facade.GetTeamRepository();
     groupRepository = facade.GetGroupRepository();
     tournamentRepository = facade.GetTournamentRepository();
 }