public GameController(SheepsheadContext context)
 {
     _gameRepository  = new GameRepository(context);
     _scoreRepository = new ScoreRepository(context);
 }
Exemple #2
0
 public GameRepository(SheepsheadContext context)
 {
     this.context = context;
 }
Exemple #3
0
 public SetupController(IConfiguration config, SheepsheadContext context)
 {
     _gameRepository = new GameRepository(context);
     _config         = config;
 }