예제 #1
0
        private void OnDeleteAddress(object sender, EventArgs e)
        {
            _personData.DeleteAddress(_view.AddressId);

            ContactDetails.Addresses = ContactDetails.Addresses
                                       .Where(x => x.Id != _view.AddressId)
                                       .ToList();

            ClearTextBox();
        }