нагло украла модели регистрации и входа
This commit is contained in:
parent
ed9494b8a9
commit
79f512bb16
@ -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();
|
||||
}
|
||||
}
|
||||
|
9
Polyclinic/PolyclinicWebAppSuretor/Models/LoginModel.cs
Normal file
9
Polyclinic/PolyclinicWebAppSuretor/Models/LoginModel.cs
Normal 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();
|
||||
}
|
||||
}
|
11
Polyclinic/PolyclinicWebAppSuretor/Models/RegisterModel.cs
Normal file
11
Polyclinic/PolyclinicWebAppSuretor/Models/RegisterModel.cs
Normal 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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user