diff --git a/Models/LawnCareEvent.cs b/Models/LawnCareEvent.cs index d5e4c36..e43d501 100644 --- a/Models/LawnCareEvent.cs +++ b/Models/LawnCareEvent.cs @@ -31,14 +31,11 @@ public class LawnCareEvent [Required] [Display(Name = "Activity Type")] public LawnCareEventType EventType { get; set; } - - // --- THIS IS THE LINE TO CHECK --- - // Make sure this property exists and is spelled correctly. + [Required] [DataType(DataType.Date)] [Display(Name = "Date")] public DateTime EventDate { get; set; } - // --------------------------------- [Display(Name = "Mowing Pattern")] public MowingPattern? MowingPattern { get; set; }