private void AddNewGuardian_Click(object sender, RoutedEventArgs e)
 {
     if (txtboxFirstNameGuardian != null || txtboxLastNameGuardian != null)
     {
         try
         {
             DbOperations.AddNewGuardian(Convert.ToInt32(txtboxPhoneGuardian.Text), txtboxFirstNameGuardian.Text, txtboxLastNameGuardian.Text, txtboxEmailGuardian.Text);
             ClearTextbox();
             ListViewGuardians.ItemsSource = DbOperations.GetAllGuardians();
             UpdatedMessage();
         }
         catch (PostgresException ex)
         {
             MessageBox.Show(ex.Message);
         }
     }
 }