diff --git a/src/BenchmarksApps/Mvc/JsonController.cs b/src/BenchmarksApps/Mvc/JsonController.cs index 0dd3e0ee9..caba27c6d 100644 --- a/src/BenchmarksApps/Mvc/JsonController.cs +++ b/src/BenchmarksApps/Mvc/JsonController.cs @@ -51,7 +51,7 @@ public partial class Entry public string ContentType { get; set; } public string Id { get; set; } public bool Managed { get; set; } - public string[] Tags { get; set; } + public List Tags { get; set; } public static List Create(int n) { @@ -70,7 +70,7 @@ public static List Create(int n) }, ContentType = "application/xml", Id = "https://benchmarktest.id/item/value" + i, - Tags = new[] { "test", "perf", "json" }, + Tags = [ "test", "perf", "json" ], }).ToList(); } }