예제 #1
0
        private void AddNewPhone(object obj)
        {
            Telephone newTelephone = new Telephone
            {
                Number   = ContactTelephoneNumber,
                Operator = ContactPhoneOperator,
                Type     = ContactPhoneType
            };

            _contactRepository.AddTelephone(newTelephone, ContactList[SelectedContactIndexList]);
            ContactTelephpones.Add(newTelephone);
            GetNumberofObjectsInDatabase();
        }