Browse Source

Add Required to Book type.

pull/400/head
Halil ibrahim Kalkan 8 years ago
parent
commit
d035ad193a
  1. 3
      samples/BookStore/src/Acme.BookStore.Application/CreateUpdateBookDto.cs

3
samples/BookStore/src/Acme.BookStore.Application/CreateUpdateBookDto.cs

@ -11,7 +11,8 @@ namespace Acme.BookStore
[Required]
[StringLength(128)]
public string Name { get; set; }
[Required]
public BookType Type { get; set; } = BookType.Undefined;
[Required]

Loading…
Cancel
Save