Created
February 21, 2021 12:18
-
-
Save fmshk97/d9f5036e8ea8c38a90c17c21d4f14edc to your computer and use it in GitHub Desktop.
RegistrationInputModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Authentication.Apis.Models | |
{ | |
public class RegistrationInputModel | |
{ | |
public string UserName { get; set; } | |
[DataType(DataType.EmailAddress)] | |
public string Email { get; set; } | |
[DataType(DataType.Password)] | |
public string Password { get; set; } | |
[Compare("Password")] | |
[DataType(DataType.Password)] | |
public string ConfirmPassword { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment