public IActionResult CommentCount(string postId) { // Get comment count var getCount = _process.GetCommentCount(postId); return(Json(new { count = getCount })); }
public IActionResult CommentCount(string postId) { // Get comment count var getCount = _process.GetCommentCount(postId); return(Json(new { count = getCount })); }