public BusinessPriorityAssigned(TenantId tenantId, BacklogItemId backlogItemId,
            BusinessPrionrity businessPrionrity)
        {
            this.TenantId = tenantId;
            this.BacklogItemId = backlogItemId;
            this.BusinessPrionrity = businessPrionrity;

            this.EventVersion = 1;
            this.OccurredOn = DateTime.Now;
        }
 public void AssignBusinessPriority(BusinessPrionrity businessPrionrity)
 {
     this.BusinessPrionrity = businessPrionrity;
     DomainEventPublisher.Instance.Publish(new BusinessPriorityAssigned(this.TenantId, this.BacklogItemId,
         businessPrionrity));
 }