public IHttpActionResult GetComment(int id) { LessonComment comment = _lessonRepository.GetComment(id); if (comment != null) { return(Ok(new LessonCommentDTO(comment))); } return(NotFound()); }