public GamePickController(IGamePickService gamePickService, IGamePickRepository gamePickRepository, IMapper mapper, ILogger <GamePickController> logger) { _gamePickService = gamePickService; _gamePickRepository = gamePickRepository; _mapper = mapper; _logger = logger; }
public GameService(IGameRepository gamerepository, IUserRepository userRepository, IGamePickService gamePickService, ITeamRepository teamRepository, IMapper mapper) { _gameRepository = gamerepository; _userRepository = userRepository; _teamRepository = teamRepository; _gamePickService = gamePickService; _mapper = mapper; }
public ScoreSummaryServiceTests() { var serviceProvider = ServiceHelper.BuildUnitTestServices("scoreSummaryTests"); _userRepository = serviceProvider.GetRequiredService <IUserRepository>(); _gameRepository = serviceProvider.GetRequiredService <IGameRepository>(); _gamePickService = serviceProvider.GetRequiredService <IGamePickService>(); _scoreSummaryService = serviceProvider.GetRequiredService <IScoreSummaryService>(); _mapper = serviceProvider.GetRequiredService <IMapper>(); }
public GamePickServiceTests() { var serviceProvider = ServiceHelper.BuildUnitTestServices("gamePickTests"); _userRepository = serviceProvider.GetRequiredService <IUserRepository>(); _gameRepository = serviceProvider.GetRequiredService <IGameRepository>(); _gamePickRepository = serviceProvider.GetRequiredService <IGamePickRepository>(); _gameService = serviceProvider.GetRequiredService <IGameService>(); _gamePickService = serviceProvider.GetRequiredService <IGamePickService>(); }