public async Task GetPriceHistoryAsync(object tickerTableSelectedRowData, object priceHistoryDateRange) { Entities.Ticker ticker = JsonConvert.DeserializeObject <Entities.Ticker>(tickerTableSelectedRowData.ToString()); _logger.LogInformation($"GetPriceHistoryAsync {ticker.Symbol} {Context.ConnectionId}"); DateTimeRange dateTimeRange = JsonConvert.DeserializeObject <DateTimeRange>(priceHistoryDateRange.ToString()); await Clients.Caller.SendCoreAsync("drawPriceHistory", new object[] { CompiledQueries.PriceHistory(ticker.Symbol, dateTimeRange), ticker }); }