public MatchDaysController(IMatchDayService matchDayService, IPlayerService playerService, IGameService gameService, IMapper mapper, ILogger <MatchDaysController> logger) { _matchDayService = matchDayService; _playerService = playerService; _gameService = gameService; _mapper = mapper; _logger = logger; }
public GameService( IGameRepository gameRepository, IPlayerRepository playerRepository, IMatchDayService matchDayService, IHandicapUpdateService handicapUpdateService, IHandicapConfigurationService configService, IHandicapCalculator handicapCalculator) { _gameRepository = gameRepository; _playerRepository = playerRepository; _matchDayService = matchDayService; _handicapUpdateService = handicapUpdateService; _configService = configService; _handicapCalculator = handicapCalculator; }