public void SalvarEvento <TEvent>(TEvent evento) where TEvent : Event
 {
     if (EventSourcingConfigurationHelper.Use)
     {
         _session.Store(EventSourcingConfigurationHelper.FormatarEvento(evento));
     }
 }
 public void SalvarEvento <TEvent>(TEvent evento) where TEvent : Event
 {
     if (EventSourcingConfigurationHelper.Use)
     {
         _collection.InsertOne(EventSourcingConfigurationHelper.FormatarEvento(evento));
     }
 }
 public void SalvarEvento <TEvent>(TEvent evento) where TEvent : Event
 {
     if (EventSourcingConfigurationHelper.Use)
     {
         _table.Add(EventSourcingConfigurationHelper.FormatarEvento(evento));
     }
 }