From 0e8203eaddacfb1f758ae0ca4a102251ca0c9e21 Mon Sep 17 00:00:00 2001 From: Taarly Date: Tue, 29 Apr 2025 09:31:31 +0200 Subject: [PATCH] added a validation class --- Project.Controller/AppController.cs | 2 +- Project.Model/Validation.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Project.Model/Validation.cs diff --git a/Project.Controller/AppController.cs b/Project.Controller/AppController.cs index 3620251..c656947 100644 --- a/Project.Controller/AppController.cs +++ b/Project.Controller/AppController.cs @@ -7,7 +7,7 @@ public class AppController public static void NewLoginSave(string username, string password, string email) { string hashedPassword = ShaHash.HashPassword(password); - var user = new Model.NewUser(username, hashedPassword, email); + var user = new NewUser(username, hashedPassword, email); SQLite.SaveUser(user); } } diff --git a/Project.Model/Validation.cs b/Project.Model/Validation.cs new file mode 100644 index 0000000..0b00b14 --- /dev/null +++ b/Project.Model/Validation.cs @@ -0,0 +1,6 @@ +namespace Project.Model; + +public class Validation +{ + +} \ No newline at end of file