private void AddPhone() { var phone = DefaultManager.Instance.DefaultPhone; DataManager.Instance.AddPhoneToPerson(Model, phone); var vm = new PhoneViewModel(phone); PersonPhones.Add(vm); CurrentPhone = vm; }
private void DeletePhone() { DataManager.Instance.RemovePhone(Model, CurrentPhone.Model); PersonPhones.Remove(CurrentPhone); CurrentPhone = null; }