I\'d like to know how to change the display name of a model, and customize error messages in Entity Framework. I tried the following but it didn\'t work.
Change [Display(Name = "Name Agency")] to [DisplayName("Name Agency")] instead.
[Display(Name = "Name Agency")]
[DisplayName("Name Agency")]