private void InitializeContactInformation(ContactInformationSnapshot snapshot) { var contactInformation = _order.CurrentContactInformationSet.FirstOrDefault(); if (contactInformation != null) { snapshot.Name = contactInformation.Name; snapshot.PhoneNumber = contactInformation.PhoneNumber; } }
public void ChangeContactInformation(ContactInformationSnapshot snapshot) { _order.SetCurrentContactInformation( snapshot.Name, snapshot.PhoneNumber); }