private void RequestHandler_NotifyOrderData(List <TradeDepthsEntity> list, tradeInfo tradeInfo) { try { if (list == null || !list.Any()) { return; } DapperDbContext context = new DapperDbContext(CurrentConfig.ConnectionString); context.InsertTradeDetailsDataAsync(list); //context.InsertTradeInfoAsync(tradeInfo); context.InsertTradeInfo(tradeInfo); //Task.WaitAll(t1, t2); } catch (Exception e) { logPrint(string.Format("{0}-{1}", "RequestHandler_NotifyOrderData", e.Message)); } //BTMrefreshSign = true; }