Esempio n. 1
0
        private void DeleteEmail(Email email)
        {
            try
            {
                EmailInfo.Id = _serviceProxy.DeleteEmail(email);

                Emails.Remove(EmailInfo);
                _serviceProxy.DeleteEmail(email);
                RaisePropertyChanged(nameof(EmailInfo));
            }
            catch (Exception)
            {
                //MessageBox.Show("Данный Айди нельзя использовать");
            }
        }