/// <summary> /// Controller for the Game table /// </summary> /// <param name="gameRepo"></param> /// <param name="boardRepo"></param> /// <param name="playerRepo"></param> public GameController(GameRepo gameRepo, BoardRepo boardRepo, PlayerRepo playerRepo) : base(playerRepo) { _playerRepo = playerRepo; _gameRepo = gameRepo; }
/// <summary> /// Controller for Board table /// </summary> /// <param name="boardRepo"></param> /// <param name="playerRepo"></param> public BoardController(BoardRepo boardRepo, PlayerRepo playerRepo) : base(playerRepo) { _playerRepo = playerRepo; _boardRepo = boardRepo; }