Ejemplo n.º 1
0
 private void LoadValuesFromMomento(MultiChangeCustomerMomento momento)
 {
     this.Name  = momento.Name;
     this.Phone = momento.Phone;
     this.Email = momento.Email;
 }
Ejemplo n.º 2
0
        public void SaveMomento()
        {
            var momento = new MultiChangeCustomerMomento(this.Name, this.Phone, this.Email);

            _momentos.Add(momento);
        }