Ejemplo n.º 1
0
 public PlayerController()
 {
     DtoPlayerConverter = new DTOPlayerConverter();
     var facade = new DALFacade();
     playerRepository = facade.GetPlayerRepository();
     teamRepository = facade.GetTeamRepository();
 }
Ejemplo n.º 2
0
 public GroupController()
 {
     dtoGroupConverter = new DTOGroupConverter();
     var facade = new DALFacade();
     groupRepository = facade.GetGroupRepository();
     teamRepository = facade.GetTeamRepository();
     playerRepository = facade.GetPlayerRepository();
 }
Ejemplo n.º 3
0
        public TeamController()
        {
            DtoTeamConverter = new DTOTeamConverter();
            var facade = new DALFacade();
            teamRepository = facade.GetTeamRepository();

            
        }
Ejemplo n.º 4
0
 public MatchController()
 {
     DtoMatcbConverter = new DTOMatchConverter();
     var facade = new DALFacade();
     matchRepository = facade.GetMatchRepository();
     teamRepository = facade.GetTeamRepository();
     groupRepository = facade.GetGroupRepository();
     tournamentRepository = facade.GetTournamentRepository();
 }