Added Event Tracking!

This commit is contained in:
2026-07-16 16:36:46 +02:00
parent 50e74a0034
commit ee1e64c944
6 changed files with 81 additions and 1 deletions
@@ -0,0 +1,13 @@
using FinancialApi.Application;
namespace FinancialApi;
public class DemoEventStore : IEventTracker
{
public List<string> CapturedEvents { get; } = new();
public void Add(string eventMessage)
{
CapturedEvents.Add($"[{DateTimeOffset.UtcNow:HH:mm:ss}] {eventMessage}");
}
}