Make the BookmarkContainerDto title required

This commit is contained in:
Neil Brommer 2021-11-28 16:21:15 -08:00
parent d161c10a48
commit 9c4f01ab13

View file

@ -6,6 +6,7 @@ using System.Text.Json.Serialization;
namespace Start.Shared {
public class BookmarkContainerDto {
public int BookmarkContainerId { get; set; }
[Required]
[StringLength(300)]
public string Title { get; set; }