diff --git a/src/PackageRegistryService/Models/ValidationPackage.cs b/src/PackageRegistryService/Models/ValidationPackage.cs index eef43a9..eae6bbd 100644 --- a/src/PackageRegistryService/Models/ValidationPackage.cs +++ b/src/PackageRegistryService/Models/ValidationPackage.cs @@ -81,7 +81,7 @@ public class ValidationPackage /// /// /// - public ICollection Tags { get; set; } = Array.Empty(); + public ICollection Tags { get; set; } = Array.Empty().ToList(); /// /// @@ -96,7 +96,7 @@ public class ValidationPackage /// /// /// - public ICollection Authors { get; set; } = Array.Empty();// https://www.learnentityframeworkcore.com/relationships#navigation-properties + public ICollection Authors { get; set; } = Array.Empty().ToList();// https://www.learnentityframeworkcore.com/relationships#navigation-properties /// ///