public void Handle(StudentDeleted @event) { using (var context = new ProjectionContext(ConnectionString.Get())) { var entity = context.GetEntity <StudentSqlEntity>(@event.AggregateId); entity.Removed = true; context.SaveChanges(); } }
public void Handle(StudentDeleted @event) { throw new System.NotImplementedException(); }