Browse Source

Remove display names

pull/400/head
Halil ibrahim Kalkan 8 years ago
parent
commit
edcfe22d66
  1. 4
      docs/Tutorials/AspNetCore-Mvc/Part-II.md

4
docs/Tutorials/AspNetCore-Mvc/Part-II.md

@ -197,16 +197,12 @@ namespace Acme.BookStore
{
[Required]
[StringLength(128)]
[Display(Name = "Name")]
public string Name { get; set; }
[Display(Name = "Type")]
public BookType Type { get; set; } = BookType.Undefined;
[Display(Name = "PublishDate")]
public DateTime PublishDate { get; set; }
[Display(Name = "Price")]
public float Price { get; set; }
}
}

Loading…
Cancel
Save