From 79f512bb16979fe7a55fa1a665b649e1d874616c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=91=D0=B0=D0=BA=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D1=81=D0=BA=D0=B0=D1=8F?= Date: Wed, 29 May 2024 02:40:15 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=D0=B3=D0=BB=D0=BE=20=D1=83=D0=BA?= =?UTF-8?q?=D1=80=D0=B0=D0=BB=D0=B0=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8?= =?UTF-8?q?=20=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8=20=D0=B8=20=D0=B2=D1=85=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Models/RegisterModel.cs | 2 +- .../PolyclinicWebAppSuretor/Models/LoginModel.cs | 9 +++++++++ .../PolyclinicWebAppSuretor/Models/RegisterModel.cs | 11 +++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Polyclinic/PolyclinicWebAppSuretor/Models/LoginModel.cs create mode 100644 Polyclinic/PolyclinicWebAppSuretor/Models/RegisterModel.cs diff --git a/Polyclinic/PolyclinicWebAppImplementer/Models/RegisterModel.cs b/Polyclinic/PolyclinicWebAppImplementer/Models/RegisterModel.cs index b2c4ac1..21b10da 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Models/RegisterModel.cs +++ b/Polyclinic/PolyclinicWebAppImplementer/Models/RegisterModel.cs @@ -6,6 +6,6 @@ public string Email { get; set; } = string.Empty; public string Password { get; set; } = string.Empty; public string ConfirmPassword { get; set; } = string.Empty; - public List Errors = new(); + public List Errors { get; set; } = new(); } } diff --git a/Polyclinic/PolyclinicWebAppSuretor/Models/LoginModel.cs b/Polyclinic/PolyclinicWebAppSuretor/Models/LoginModel.cs new file mode 100644 index 0000000..e5a6d43 --- /dev/null +++ b/Polyclinic/PolyclinicWebAppSuretor/Models/LoginModel.cs @@ -0,0 +1,9 @@ +namespace PolyclinicWebAppSuretor.Models +{ + public class LoginModel + { + public string Email { get; set; } = string.Empty; + public string Password { get; set; } = string.Empty; + public List Errors { get; set; } = new(); + } +} diff --git a/Polyclinic/PolyclinicWebAppSuretor/Models/RegisterModel.cs b/Polyclinic/PolyclinicWebAppSuretor/Models/RegisterModel.cs new file mode 100644 index 0000000..5b99491 --- /dev/null +++ b/Polyclinic/PolyclinicWebAppSuretor/Models/RegisterModel.cs @@ -0,0 +1,11 @@ +namespace PolyclinicWebAppSuretor.Models +{ + public class RegisterModel + { + public string FIO { get; set; } = string.Empty; + public string Email { get; set; } = string.Empty; + public string Password { get; set; } = string.Empty; + public string ConfirmPassword { get; set; } = string.Empty; + public List Errors { get; set; } = new(); + } +}