示例#1
0
        public IActionResult GetTicketComments(int ticketId)
        {
            var commentList = _commentData.GetAllCommentsForTicket(ticketId);

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

            return(NotFound($"Comments associated with Guid of Ticket Guid of {ticketId} do not exist"));
        }