(id: number, comment: CommentModel)
| 77 | } |
| 78 | |
| 79 | setComment(id: number, comment: CommentModel): CommentModel { |
| 80 | this.commentCache.set(comment.id.toString(), comment); |
| 81 | |
| 82 | logger('Cache set comment:', comment); |
| 83 | |
| 84 | return comment; |
| 85 | } |
| 86 | |
| 87 | /* END COMMENTS */ |
| 88 |