I have 2 models:
public class User { public int Id { get; set; } [Required] [MaxLength(50)] public string Email { get; set; } [Required] [MaxLengt