Before changing Piece[,] to Dictionary<string,Piece>
This commit is contained in:
@@ -22,6 +22,6 @@ namespace Gameboard.ShogiUI.Sockets.Repositories.CouchModels
|
||||
WhichPiece = piece.WhichPiece;
|
||||
}
|
||||
|
||||
public Models.Piece ToDomainModel() => new(IsPromoted, Owner, WhichPiece);
|
||||
public Models.Piece ToDomainModel() => new(WhichPiece, Owner, IsPromoted);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user