private void When(CustomerCreated customerCreated) { this.Id = customerCreated.Id; this.Name = customerCreated.Name; this.Address = customerCreated.Address; }
private void When(CustomerCreated customerCreated) { Id = customerCreated.AggregateId; Name = customerCreated.Name; Address = customerCreated.Address; }