예제 #1
0
 public void Store(StoredEvent eventObj)
 {
     _context.StoredEvents.Add(eventObj);
     _context.SaveChanges();
 }
예제 #2
0
 public void SaveEvent(StoredEvent storedEvent)
 {
     _context.StoredEvents.Add(storedEvent);
     _context.SaveChanges();
 }