public void CommitTo(Sprint s) { this.Sprint = s; this.Publish(new BacklogItemCommitted(this, s)); }
public BacklogItemCommitted(BacklogItem backlogItem, Sprint sprint) { this.BacklogItemId = backlogItem.Id; this.SprintId = sprint.Id; this.CreatedAt = backlogItem.CreatedAt; }