Admin edit clean up

This commit is contained in:
2026-09-14 22:31:22 +02:00
parent 78a22d9c0e
commit 0a89009a93
2 changed files with 0 additions and 28 deletions
-14
View File
@@ -34,13 +34,8 @@ namespace Casino
}
}
// ==========================================
// SPEICHERN
// ==========================================
private void BtnSpeichern_Click(object sender, RoutedEventArgs e)
{
// Name prüfen
if (string.IsNullOrWhiteSpace(TxtName.Text))
{
MessageBox.Show(
@@ -78,7 +73,6 @@ namespace Casino
return;
}
// Rolle prüfen
if (CmbRolle.SelectedItem is not ComboBoxItem selectedRoleItem)
{
MessageBox.Show(
@@ -130,19 +124,11 @@ namespace Casino
}
}
// ==========================================
// ABBRECHEN
// ==========================================
private void BtnAbbrechen_Click(object sender, RoutedEventArgs e)
{
Close();
}
// ==========================================
// PASSWORT HASHEN
// ==========================================
private static string HashPassword(string password)
{
using SHA256 sha256 = SHA256.Create();