public IActionResult AddComment(int postId, [FromForm] string comment) { var result = _groupService.AddComment(postId, comment, HttpContext); if (result.IsError) { return(StatusCode(422, result.Errors)); } return(Ok(result.SuccessResult)); }