public void AddComment(int issueId, Comment comment) { var issue = this.Issues[issueId]; issue.AddComment(comment); this.UsersAndComments[this.LoggedUser].Add(comment); }
public void AddComment(Comment comment) { this.Comments.Add(comment); }