@@ -28,6 +28,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
private readonly List<DomainEvent> _domainEvents = [];
|
||||
|
||||
[JsonIgnore]
|
||||
[NotMapped]
|
||||
public IReadOnlyCollection<DomainEvent> DomainEvents => _domainEvents.AsReadOnly();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user