Saving snapshots
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user