public HttpResponseMessage GetCommentsByPost(int id, string lang) { List <CommentDto> comments = postsManager.GetComments(id); List <Comment> result = comments.ConvertAll(comment => new Comment(comment)); return(Request.CreateResponse(HttpStatusCode.OK, result)); }