internal void ReadTransactionById(long id) { var transactions = _transactionRepo.ReadTransactions(); foreach (var t in transactions) { if (transactions == null) { Console.WriteLine("ei löydy"); } else { Console.WriteLine($"Määrä: {t.Amount}\nAika: {t.TimeStamp}"); } } }