private void Apply(IssueAdded e) { if (!Issues.Contains(e.Issue)) { Issues.Add(e.Issue); } UpdatedBy = e.UserId; UpdatedDateTime = e.TimeStamp; }
private void Apply(IssuesAdded e) { foreach (var issue in e.Issues) { if (!Issues.Contains(issue)) { Issues.Add(issue); } } UpdatedBy = e.UserId; UpdatedDateTime = e.TimeStamp; }