public MastermindAppService(IMastermindRepository mastermindRepository, Game game)
 {
     _game = game;
     _mastermindRepository = mastermindRepository;
     _mastermindRepository.SetupDatabase();
 }
Example #2
0
 public MastermindMultiplayerAppService(IMastermindRepository mastermindRepository)
 {
     _mastermindRepository = mastermindRepository;
 }
 public MastermindService(GameContext context)
 {
     _mmRepo = new MastermindRepository(context);
     r       = new Random();
 }