public WinAmount GetPlayerTotalWinAmount(int playerId) { var response = new WinAmount() { ErrorMessage = string.Empty, Success = true, }; var winAmount = _transactionHistory.GetPlayerTotalWinAmount(playerId); response.Amount = winAmount; return(response); }
private static WinAmountEntity Convert(WinAmount winAmount) { return(new(accountAddress : winAmount.AccountAddress, winAmount : winAmount.Amount)); }