Make the BookmarkContainerDto title required
This commit is contained in:
parent
d161c10a48
commit
9c4f01ab13
|
@ -6,6 +6,7 @@ using System.Text.Json.Serialization;
|
||||||
namespace Start.Shared {
|
namespace Start.Shared {
|
||||||
public class BookmarkContainerDto {
|
public class BookmarkContainerDto {
|
||||||
public int BookmarkContainerId { get; set; }
|
public int BookmarkContainerId { get; set; }
|
||||||
|
[Required]
|
||||||
[StringLength(300)]
|
[StringLength(300)]
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue