Compare commits

...

2 Commits

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