From 9c4f01ab135eacab857ae8e36c66558fb6fbda46 Mon Sep 17 00:00:00 2001 From: Neil Brommer Date: Sun, 28 Nov 2021 16:21:15 -0800 Subject: [PATCH] Make the BookmarkContainerDto title required --- Start/Shared/BookmarkContainerDto.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Start/Shared/BookmarkContainerDto.cs b/Start/Shared/BookmarkContainerDto.cs index a979633..b729b95 100644 --- a/Start/Shared/BookmarkContainerDto.cs +++ b/Start/Shared/BookmarkContainerDto.cs @@ -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; }