From 0f7c88d322d1e712633f2985f8c4e48875dddd5a Mon Sep 17 00:00:00 2001 From: CottonpuffProgrammer <105884584+CottonpuffProgrammer@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:58:45 -0800 Subject: [PATCH] Added required modifier to "Name" property of "People". Looked through existing functionality for possible conflicts, but adding required seems to prevent any possible conflicts with current code. (#351) Co-authored-by: Isaac Detert --- PC2/Models/People.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC2/Models/People.cs b/PC2/Models/People.cs index b863d07..5fc59b6 100644 --- a/PC2/Models/People.cs +++ b/PC2/Models/People.cs @@ -13,7 +13,7 @@ public class People /// /// The persons full name /// - public string Name { get; set; } + public required string Name { get; set; } /// /// Position title