public PlayerController() { DtoPlayerConverter = new DTOPlayerConverter(); var facade = new DALFacade(); playerRepository = facade.GetPlayerRepository(); teamRepository = facade.GetTeamRepository(); }
public TournamentTypeController() { DtoTournamentTypeConverter = new DTOTournamentTypeConverter(); var facade = new DALFacade(); tournamentTypeRepository = facade.GetTournamentTypeRepository(); }
public GroupController() { dtoGroupConverter = new DTOGroupConverter(); var facade = new DALFacade(); groupRepository = facade.GetGroupRepository(); teamRepository = facade.GetTeamRepository(); playerRepository = facade.GetPlayerRepository(); }
public TeamController() { DtoTeamConverter = new DTOTeamConverter(); var facade = new DALFacade(); teamRepository = facade.GetTeamRepository(); }
public MatchController() { DtoMatcbConverter = new DTOMatchConverter(); var facade = new DALFacade(); matchRepository = facade.GetMatchRepository(); teamRepository = facade.GetTeamRepository(); groupRepository = facade.GetGroupRepository(); tournamentRepository = facade.GetTournamentRepository(); }
public GameController() { dtoGameConverter = new DTOGameConverter(); var facade = new DALFacade(); gameRepository = facade.GetGameRepository(); }