Пример #1
0
        public override Task OnDisconnected(bool val)
        {
            AgentHelper agentHelper = new AgentHelper(_agentDataModel, _queueDataModel, _chatHub);

            agentHelper.DisableAgent(new Guid(Context.ConnectionId));

            Console.WriteLine("Hub OnDisconnected {0}\n", Context.ConnectionId);
            return(base.OnDisconnected(val));
        }