Automated teller machine emulation.
using System.ComponentModel.DataAnnotations;
namespace SergeyDrozdovATM.Web.Models
{
public class UserViewModel
{
[Required]
[Display(Name = "Login")]
public string Login { get; set; }
[Required]
[DataType(DataType.Password)]
[Display(Name = "PIN")]
public string PIN { get; set; }
}
}