Beispiel #1
0
 private void LoanToAdd_PaidOut(object sender, PaymentEventArgs e)
 {
     Journal(this, new JournalEntry()
     {
         JournalMessage = $"Paid out event for loan number: {e.LoanNumber}. Payment amount: {e.PaymentAmount.ToString("c")}. New Balance: {e.Balance.ToString("c")}"
     });
 }
Beispiel #2
0
 private void LoanToAdd_ReceivedPayment(object sender, PaymentEventArgs e)
 {
     Journal(this, new JournalEntry()
     {
         JournalMessage = $"Payment received for loan number: {e.LoanNumber}. Payment amount: {e.PaymentAmount.ToString("c")}"
     });
 }