Example #1
0
 public ShotService(IShotRepository shotRepository, IShotTypeRepository shotTypeRepository, IGameRepository gameRepository, IPlayerRepository playerRepository, IHoleRepository holeRepository)
 {
     _shotRepository     = shotRepository;
     _shotTypeRepository = shotTypeRepository;
     _gameRepository     = gameRepository;
     _playerRepository   = playerRepository;
     _holeRepository     = holeRepository;
 }
 public ShotService(IShotRepository shotRepository, IShotTypeRepository shotTypeRepository, IGameRepository gameRepository, IPlayerRepository playerRepository, IHoleRepository holeRepository)
 {
     _shotRepository = shotRepository;
     _shotTypeRepository = shotTypeRepository;
     _gameRepository = gameRepository;
     _playerRepository = playerRepository;
     _holeRepository = holeRepository;
 }
 public ShotService(IShotRepository shotRepository, IShotTypeRepository shotTypeRepository, IGameRepository gameRepository, IPlayerRepository playerRepository, IHoleRepository holeRepository, IUnitOfWork unitOfWork)
 {
     _shotRepository = shotRepository;
     _shotTypeRepository = shotTypeRepository;
     _gameRepository = gameRepository;
     _playerRepository = playerRepository;
     _holeRepository = holeRepository;
     _unitOfWork = unitOfWork;
 }
 public ShotTypeService(IShotTypeRepository scoreTypeRepository)
 {
     _scoreTypeRepository = scoreTypeRepository;
 }
Example #5
0
 public ShotTypeService(IShotTypeRepository scoreTypeRepository)
 {
     _scoreTypeRepository = scoreTypeRepository;
 }