private void Apply(TestEntityCreated obj) { this.Id = obj.Id; }
public void Apply(TestEntityCreated @event) { Id = @event.Id; Name = @event.Name; }