public void Update(CustomerPhoneDTO customerPhone) { PhoneTypeId = customerPhone.PhoneTypeId; Number = customerPhone.Number; }
public CustomerPhone(CustomerPhoneDTO customerPhone) : this() { CreatedDate = DateTime.Now; Update(customerPhone); }