public IActionResult GetByPost(int id) { try { return(Ok(_commentManager.GetCommentByPost(id))); } catch (ArgumentException ex) { return(BadRequest(ex)); } }