public ConnectedController(IHubContext <ChatHub> hubContext) { _chatHub = ChatHub.GetInstance(); _hubContext = hubContext; }