From 7127cdf970be7c167c5aafd5968dad73edd51d5f Mon Sep 17 00:00:00 2001 From: Daniel Gyulai Date: Sun, 22 Nov 2020 20:10:25 +0100 Subject: [PATCH] Made Images to property in Update --- CoviDok/Data/Model/Update.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CoviDok/Data/Model/Update.cs b/CoviDok/Data/Model/Update.cs index c0822aa..a16dbe7 100644 --- a/CoviDok/Data/Model/Update.cs +++ b/CoviDok/Data/Model/Update.cs @@ -14,7 +14,10 @@ namespace CoviDok.Data.Model public Role SenderRole { get; set; } public string Content { get; set; } public DateTime CreatedDate { get; set; } - - public ICollection Images = new List(); + public List Images { get; set; } + public Update() + { + Images = new List(); + } } }