I know there's a DisplayName
and Display
for model properties like so :
public class MyModel
{
[Display(Name = "Licence")]
public string Licence { get; set; }
}
But is there a Display
for the whole model ? May be something like this :
[Display(Name = "My beautiful model")]
public class MyModel
{
...
And if so, how to access it from HTML ?