public void SetFields(CustomerEmailDTO customerEmail) { IsPrimary = customerEmail.IsPrimary; Address = customerEmail.Address; }
public CustomerEmail(CustomerEmailDTO customerEmail) : this() { CreatedDate = DateTime.UtcNow; SetFields(customerEmail); }