public void Handle(IStockChangeEvent message)
        {
            var symbol = message.Symbol;
            var stock = _stocks.GetStockBySymbol(symbol);

            if (stock == null)
            {
                stock = new Stock { Symbol = symbol, Price = message.Price };
                _stocks.AddStock(stock);

                GetClients().addStock(message);
            }
            else
            {
                stock.Price = message.Price;
                GetClients().updateStockPrice(message);
            }
        }
        public void Handle(IStockChangeEvent message)
        {
            var symbol = message.Symbol;
            var stock  = _stocks.GetStockBySymbol(symbol);

            if (stock == null)
            {
                stock = new Stock {
                    Symbol = symbol, Price = message.Price
                };
                _stocks.AddStock(stock);

                GetClients().addStock(message);
            }
            else
            {
                stock.Price = message.Price;
                GetClients().updateStockPrice(message);
            }
        }