private void LoadValuesFromMomento(MultiChangeCustomerMomento momento) { this.Name = momento.Name; this.Phone = momento.Phone; this.Email = momento.Email; }
public void SaveMomento() { var momento = new MultiChangeCustomerMomento(this.Name, this.Phone, this.Email); _momentos.Add(momento); }