0
Good Afternoon, I’m trying to create an administrator area to manage the database accounts, but I’m having difficulties, I have the Applicationuser class and the Loginviewmodel class:
public class LoginViewModel
{
[Required]
[Display(Name = "Usuario")]
public string UserName { get; set; }
[Required]
[EmailAddress]
[DataType(DataType.EmailAddress)]
public string Email { get; set; }
[DataType(DataType.EmailAddress)]
[Display(Name = "Confirmar Email")]
[Compare("Email", ErrorMessage = "O email e a confimação de email não são iguais.")]
public string ConfirmEmail { get; set; }
[Required]
[DataType(DataType.Password)]
public string Password { get; set; }
[DataType(DataType.Password)]
[Display(Name = "Confirmar senha")]
[Compare("Password", ErrorMessage = "A senha e a confimação de senha não são iguais.")]
public string ConfirmPassword { get; set; }
[Required]
[Display(Name = "Primeiro nome")]
[DataType(DataType.Text)]
public string PrimeiroNome { get; set; }
[Required]
[Display(Name = "Ultimo nome")]
[DataType(DataType.Text)]
public string UltimoNome { get; set; }
[Required]
[Display(Name = "Numero para contato")]
[DataType(DataType.PhoneNumber)]
public string PhoneNumber { get; set; }
[Required]
[Display(Name = "Data de Nascimento")]
[DataType(DataType.Date)]
public string DataNascimento { get; set; }
public string ReturnUrl { get; set; }
[Display(Name = "Lembrar senha?")]
public bool RememberMe { get; set; }
}
public class ApplicationUser : IdentityUser
{
public string PrimeiroNome { get; set; }
public string UltimoNome { get; set; }
public string DataNascimento { get; set; }
}
wanted to create a screen more or less like this:
What I do, I’m lost.
But what difficulties are you having?
– Jéf Bueno
I need to create a Loginviewmodel countdown to display the information?
– Gabriel Rodrigues Pavolin