diff --git a/Controllers/GetPosts.cs b/Controllers/GetPosts.cs index bd5900c..5bc2400 100644 --- a/Controllers/GetPosts.cs +++ b/Controllers/GetPosts.cs @@ -10,7 +10,8 @@ namespace NeDvachAPI.Controllers [HttpGet(Name = "GetPosts")] public string Get() { - Post[] posts = DBchat.DbList(); + //Post[] posts = DBchat.DbList(); + List posts = DBchat.DbList(); string postsJson = JsonSerializer.Serialize(posts); return postsJson ;