public void ViewHistory() { DisplayHeader(); var transactionHistory = GetHistory(); _consoleWriter.WriteMessage($"\nFiat (PLN) balance: {transactionHistory.Sum(a => a.Fiat):C}\n"); _consoleWriter.WriteMessage("Transactions history: \n"); _consoleWriter.DisplayHistoryHeader(); _consoleWriter.DisplayTransactionsHistory(transactionHistory); _consoleWriter.WriteMessage("\n\nPress ENTER to continue."); _inputReader.WaitForEnter(); }