public NotificationHub(MessageDomain messageDomain, UserDomain userDomain)
 {
     this.messageDomain = messageDomain;
     this.userDomain    = userDomain;
 }
 public InventoryDomain(IInventoryRepository inventoryRepo, IConfigRepository configRepo, UserDomain userDomain,
                        IHubContext <NotificationHub, IUserClient> hubContext, ITransactionScopeFactory transactionScopeFactory)
 {
     InventoryRepo           = inventoryRepo;
     ConfigRepo              = configRepo;
     SignalRHubContext       = hubContext;
     UserDomain              = userDomain;
     TransactionScopeFactory = transactionScopeFactory;
 }