示例#1
0
 public MatchDayService(IMatchDayRepository matchDayRepository,
                        IGameRepository gameRepository,
                        IHandicapConfigurationService configService,
                        IHandicapUpdateService handicapUpdateService,
                        IPlayerRepository playerRepository)
 {
     _matchDayRepository    = matchDayRepository;
     _gameRepository        = gameRepository;
     _configService         = configService;
     _handicapUpdateService = handicapUpdateService;
     _playerRepository      = playerRepository;
 }
示例#2
0
 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;
 }
示例#3
0
 public ConfigController(IHandicapConfigurationService configService)
 {
     _configService = configService;
 }