public OnlineUserHub(OnlineTracker tracker, IUserRepository userRepository, IChatRepository chatRepository, IMapper mapper) { _tracker = tracker; _userRepository = userRepository; _chatRepository = chatRepository; _mapper = mapper; }
public OnlineClientHub(OnlineTracker onlineTracker) { _onlineTracker = onlineTracker; }
public HubRepository(IHubContext <OnlineClientHub> hubContext, IUnitOfWork unitOfWork, OnlineTracker onlineTracker) { _hubContext = hubContext; _unitOfWork = unitOfWork; _onlineTracker = onlineTracker; }