Authorization.cs 392 B

12345678910111213141516
  1. using System.ComponentModel.DataAnnotations;
  2. namespace OnlineMetodist.API.Models.Request.Account
  3. {
  4. public class Authorization
  5. {
  6. [Required]
  7. [Display(Name = "Почта")]
  8. public string Email { get; set; }
  9. [Required]
  10. [DataType(DataType.Password)]
  11. [Display(Name = "Пароль")]
  12. public string Password { get; set; }
  13. }
  14. }