Exemple #1
0
 public void Execute() =>
 Games
 .Get(GameId)
 .AddPlayer(PlayerId, PlayerName);
Exemple #2
0
 public object Execute() =>
 Games
 .Get(GameId)
 .GetBoard(PlayerId);
Exemple #3
0
 public void Execute() =>
 Games
 .Get(GameId)
 .DrawTile(PlayerId);
Exemple #4
0
 public void Execute() =>
 Games
 .Add(
     GameId,
     GameEntity
     .Create(GameId));
 public object Execute() =>
 Games
 .GetAll()
 .Select(g =>
         g.GetBoard())
 .ToArray();