// GET: StockPriceHistory/Edit/5
        public async Task <ActionResult> Edit(string id)
        {
            var stockPriceHistory = await StockPriceHistoryLib.GetStockPriceHistory(id.ToString());

            if (stockPriceHistory == null)
            {
                var errorMsg = string.Format("StockPriceHistory {0} not found.", id);
                throw new HttpException(404, errorMsg);
            }
            return(View(stockPriceHistory));
        }