public void FailDiscussionInitiation() { if (Discussion.Availability == DiscussionAvailability.Ready) { DiscussionInitiationId = null; Discussion = BacklogItemDiscussion.FromAvailability(DiscussionAvailability.Failed); } }
public void RequestDiscussion(DiscussionAvailability availability) { if (Discussion.Availability != DiscussionAvailability.Ready) { Discussion = BacklogItemDiscussion.FromAvailability(availability); DomainEventPublisher.Instance.Publish( new BacklogItemDiscussionRequested( TenantId, ProductId, BacklogItemId, availability == DiscussionAvailability.Requested)); } }
public void InitiateDiscussion(BacklogItemDiscussion discussion) { Discussion = discussion; DomainEventPublisher.Instance.Publish( new BacklogItemDiscussionInitiated(TenantId, BacklogItemId, discussion)); }