public TeamViewService(ITeamMapper teamMapper, IUserRepository userRepository, IUserValidator userValidator, ITeamValidator teamValidator, IUserMapper userMapper, ITeamRepository teamRepository) { _teamMapper = teamMapper; _teamRepository = teamRepository; _userMapper = userMapper; _teamValidator = teamValidator; _userValidator = userValidator; _userRepository = userRepository; }
private void SetUpDependencies() { _userRepository = _administrationMockRepository.GetUserRepository(); _workshopRepository = _administrationMockRepository.GetWorkshopRepository(); _teamRepository = _administrationMockRepository.GetTeamRepository(); _cryptographerService = _administrationMockRepository.GetCryptographerService(); _userMapper = _administrationMockRepository.GetUserMapper(); _userValidator = _administrationMockRepository.GetUserValidator(true); _workshopMapper = _administrationMockRepository.GetWokshopMapper(); _teamMapper = _administrationMockRepository.GetTeamMapper(); _teamValidator = _administrationMockRepository.GetTeamValidator(true); _workshopValidator = _administrationMockRepository.GetWorkshopValidator(true); }