* Added Authentication

This commit is contained in:
2025-02-21 09:59:50 +01:00
parent ed5b5634fd
commit 6774311433
20 changed files with 468 additions and 30 deletions

View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace OrdersManagement.Models;
public class LoginModel
{
[Required(ErrorMessage = "Login jest wymagany")]
public string Login { get; set; }
[Required(ErrorMessage = "Hasło jest wymagane")]
public string Password { get; set; }
}