Skip to content

Commit

Permalink
Add Required to Book type.
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Aug 4, 2018
1 parent 0d3efe5 commit d035ad1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public class CreateUpdateBookDto
[Required]
[StringLength(128)]
public string Name { get; set; }


[Required]
public BookType Type { get; set; } = BookType.Undefined;

[Required]
Expand Down

0 comments on commit d035ad1

Please sign in to comment.