нагло украла модели регистрации и входа

This commit is contained in:
Елена Бакальская 2024-05-29 02:40:15 +04:00
parent ed9494b8a9
commit 79f512bb16
3 changed files with 21 additions and 1 deletions

View File

@ -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<string> Errors = new();
public List<string> Errors { get; set; } = new();
}
}

View File

@ -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<string> Errors { get; set; } = new();
}
}

View File

@ -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<string> Errors { get; set; } = new();
}
}