diff --git a/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Infrastructure/Services/EventMapper.cs b/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Infrastructure/Services/EventMapper.cs index d3f74df32..7b2ca7171 100644 --- a/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Infrastructure/Services/EventMapper.cs +++ b/MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Infrastructure/Services/EventMapper.cs @@ -14,13 +14,7 @@ public IEvent Map(IDomainEvent @event) { switch (@event) { - case StudentRegistrationCompleted e: - return new Application.Events.StudentCreated(e.Student.Id, e.Student.FullName); - case StudentUpdated e: - return new Application.Events.StudentUpdated(e.Student.Id, e.Student.FullName); - case StudentStateChanged e: - return new Application.Events.StudentStateChanged(e.Student.Id, e.Student.FullName, - e.Student.State.ToString().ToLowerInvariant(), e.PreviousState.ToString().ToLowerInvariant()); + } return null;