public async Task <IActionResult> PostComment([FromBody] CommentRegistrationViewModel model) { var result = await CannotCommentAsync(model.IssueId); if (result != null) { return(result); } var cmt = await Db.AddCommentAsync(model, GetUserId()); return(new OkObjectResult(cmt.AsDetail())); }