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