Saving snapshots

This commit is contained in:
2024-11-09 13:35:39 -06:00
parent 0a62eb7582
commit 13e79eb490
14 changed files with 176 additions and 16 deletions

View File

@@ -92,6 +92,7 @@ public class ShogiApplication(
if (moveResult.IsSuccess)
{
await sessionRepository.CreateMove(sessionId, command);
await sessionRepository.CreateState(session);
await gameHubContext.Emit_PieceMoved(sessionId);
return new NoContentResult();
}