private void btnAddContact_Click(object sender, RoutedEventArgs e) { txtError.Text = ContactViewModel.AddContact(txtEmail.Text); txtError.Visibility = Visibility.Visible; }