Beispiel #1
0
 public ShoeService(IPlayerHandRepository playerHandRepository, IShoeRepository shoeRepository, IGenericRepository <Model.Player> playerProvider, IGenericRepository <Model.PlayerHand> playerHand, IGenericRepository <Model.Shoe> shoeProvider)
 {
     _playerHandRepository = playerHandRepository;
     _shoeRepository       = shoeRepository;
     _playerProvider       = playerProvider;
     _playerHand           = playerHand;
     _shoeProvider         = shoeProvider;
 }
Beispiel #2
0
 public GameService(IGenericRepository <DAL.Game> gameProvider, IGenericRepository <DAL.Shoe> shoeProvider, IPlayerHandRepository playerHandRepository)
 {
     _gameProvider         = gameProvider;
     _shoeProvider         = shoeProvider;
     _playerHandRepository = playerHandRepository;
 }