예제 #1
0
        public IActionResult GetTicketCommentsForUser(string userId)
        {
            var commentList = _commentData.GetUserComments(userId);

            if (commentList != null)
            {
                return(Ok(commentList));
            }

            return(NotFound($"Comments associated with user Id of {userId} do not exist"));
        }