public void Homepage(IAdminView form, IMainController inController, Admin admin, IPlayerRepository playerRepository, ITrainerRepository trainerRepository, ITeamRepository teamRepository, ITransactionRepository transactionRepository) { _form = form; _playerRepository = playerRepository; _trainerRepository = trainerRepository; _teamRepository = teamRepository; _transactionRepository = transactionRepository; form.ShowViewModaless(inController, admin, playerRepository.GetAll(), trainerRepository.GetAll(), teamRepository.GetAll(), transactionRepository.GetAll()); }