using System.ComponentModel.DataAnnotations; [EmailAddress(ErrorMessage = "Invalid Email Address")] public string Email { get; set; }