public string[] SearchCommentsToPosts(Newtonsoft.Json.Linq.JObject idPost) { string[] comments = WorkWithDb.SearchComments(Convert.ToInt32(idPost["idPost"])).ToArray(); return(comments); }