コード例 #1
0
ファイル: GameController.cs プロジェクト: rsyNinja/Sheepshead
 public GameController(SheepsheadContext context)
 {
     _gameRepository  = new GameRepository(context);
     _scoreRepository = new ScoreRepository(context);
 }
コード例 #2
0
 public GameRepository(SheepsheadContext context)
 {
     this.context = context;
 }
コード例 #3
0
 public SetupController(IConfiguration config, SheepsheadContext context)
 {
     _gameRepository = new GameRepository(context);
     _config         = config;
 }