public AISTOCK_STOCK_AVG_PRICE_DATA GetStockAvgData(string date) { AISTOCK_STOCK_AVG_PRICE_DATA data = new AISTOCK_STOCK_AVG_PRICE_DATA(); using (DaStock da = new DaStock()) { da.LoadStockAvgData(data.AISTOCK_STOCK_AVG_PRICE, date); } return(data); }