public void PlannedProductBacklogItem(BacklogItem backlogItem) { AssertionConcern.AssertArgumentEquals(this.TenantId, backlogItem.TenantId, "The product and backlog item must have same tenant."); AssertionConcern.AssertArgumentEquals(this.ProductId, backlogItem.ProductId, "The backlog item must belong to product."); int ordering = this.backlogItems.Count + 1; ProductBacklogItem productBacklogItem = new ProductBacklogItem( this.TenantId, this.ProductId, backlogItem.BacklogItemId, ordering); this.backlogItems.Add(productBacklogItem); }
public void PlannedProductBacklogItem(BacklogItem backlogItem) { AssertionConcern.AssertArgumentEquals(this.TenantId, backlogItem.TenantId, "The product and backlog item must have same tenant."); AssertionConcern.AssertArgumentEquals(this.ProductId, backlogItem.ProductId, "The backlog item must belong to product."); int ordering = this.BacklogItems.Count + 1; ProductBacklogItem productBacklogItem = new ProductBacklogItem( this.TenantId, this.ProductId, backlogItem.BacklogItemId, ordering); this.BacklogItems.Add(productBacklogItem); }