public IActionResult GetComment(int commentId) { var comment = _repo.GetComment(commentId); if (comment == null) { return(NotFound()); } return(Ok(ModelsMapping.GetCommentDto(comment))); }
public IActionResult GetComment(int commentId) { var comment = _repo.GetComment(commentId); if (comment == null) { return(NotFound()); } return(Ok(ModelsMapping.GetCommentDto(comment))); }