Skip to content

Commit e6cba6d

Browse files
Update JsonController.cs (#2081)
1 parent e0e687d commit e6cba6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BenchmarksApps/Mvc/JsonController.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public partial class Entry
5151
public string ContentType { get; set; }
5252
public string Id { get; set; }
5353
public bool Managed { get; set; }
54-
public string[] Tags { get; set; }
54+
public List<string> Tags { get; set; }
5555

5656
public static List<Entry> Create(int n)
5757
{
@@ -70,7 +70,7 @@ public static List<Entry> Create(int n)
7070
},
7171
ContentType = "application/xml",
7272
Id = "https://benchmarktest.id/item/value" + i,
73-
Tags = new[] { "test", "perf", "json" },
73+
Tags = [ "test", "perf", "json" ],
7474
}).ToList();
7575
}
7676
}

0 commit comments

Comments
 (0)