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(); + } +}