Esempio n. 1
0
        public IActionResult GetComment(int id)
        {
            var comment = _commentData.GetComment(id);

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

            return(NotFound($"Comments associated with Guid of {id} does not exist"));
        }