This commit is contained in:
2023-04-03 19:31:03 +03:00
parent 503c29d84a
commit 081e8ce3ec
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ namespace SchoolAgainStudyDataBaseImplements.Models
[Required]
public string Description { get; set; } = string.Empty;
[Required]
public DateTime DateCreate { get; set; }
public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
[Required]
public int TaskId { get; set; }
public string TaskName { get; set; } = string.Empty;