fix some nullable issues

This commit is contained in:
2023-05-12 12:55:05 -04:00
parent faaa0dba8f
commit 114e1499f8
2 changed files with 5 additions and 5 deletions

View File

@ -2,6 +2,6 @@ namespace BinaryDad.Notes.Models;
public class ContentModel
{
public ICollection<string> NoteNames { get; set; }
public string Text { get; set; }
public ICollection<string> NoteNames { get; set; } = new List<string>();
public string Text { get; set; } = string.Empty;
}