0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-07-02 03:22:57 +00:00
CleanArchitecture/CleanArchitecture.Domain/DomainEvents/IDomainEventStore.cs
Alexander Konietzko 53e0966f51
Add event sourcing
2023-07-01 16:46:08 +02:00

8 lines
182 B
C#

using System.Threading.Tasks;
namespace CleanArchitecture.Domain.DomainEvents;
public interface IDomainEventStore
{
Task SaveAsync<T>(T domainEvent) where T : DomainEvent;
}