public List <skStockHistory> GetStockHistory(long StockID) { Proxies.AppDataClient DataClient = new Proxies.AppDataClient(); try { DataClient.Open(); var Returnlist = DataClient.GetStockHistory(StockID).StockHistory; return(Returnlist); } finally { DataClient.Close(); } }