- using System.ComponentModel.DataAnnotations;
- namespace OnlineMetodist.API.Models.Request.Account
- {
- public class Authorization
- {
- [Required]
- [Display(Name = "Почта")]
- public string Email { get; set; }
- [Required]
- [DataType(DataType.Password)]
- [Display(Name = "Пароль")]
- public string Password { get; set; }
- }
- }
|