public async Task <IActionResult> AdminDeleteUserComment(int userCommentID)
        {
            // Retrieves comment and returns view
            UserComment comment = await _repository.GetUserCommentAsync(userCommentID);

            if (comment == null)
            {
                return(NotFound());
            }
            return(View(comment));
        }
        public async Task <IActionResult> GetUserComment(int id)
        {
            // Retrieves comment and returns 404 if null
            UserComment comment = await _repository.GetUserCommentAsync(id);

            if (comment == null)
            {
                return(NotFound("UserComment not found"));
            }
            if (comment.Deleted || comment.User.Deleted || comment.UserPage.Deleted)
            {
                return(Gone("Comment deleted"));
            }

            return(Json(new ApiComment(comment)));
        }