public PlayerController() { DtoPlayerConverter = new DTOPlayerConverter(); var facade = new DALFacade(); playerRepository = facade.GetPlayerRepository(); teamRepository = facade.GetTeamRepository(); }
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(); }