Пример #1
0
        public Task Handle(OperationProgressNotification notification)
        {
            var alertModel = AlertModel.From(notification);

            _alerthub.Clients.All.onalert(alertModel);
            return(Task.CompletedTask);
        }
Пример #2
0
        public void Handle(OperationProgressNotification message)
        {
            var alertModel = AlertModel.From(message);

            _alerthub.Clients.All.onalert(alertModel);
        }