public void Store(StoredEvent eventObj) { _context.StoredEvents.Add(eventObj); _context.SaveChanges(); }
public void SaveEvent(StoredEvent storedEvent) { _context.StoredEvents.Add(storedEvent); _context.SaveChanges(); }