public async Task <IActionResult> Create([Bind("ID,CaptureDate,PortfolioValue,DayGain,PercentDayGain,TotalGain,PercentTotalGain, StockInfo")] PortfolioInfo portfolioInfo)
        {
            var captureScrape = GetCapture.Capture();

            if (ModelState.IsValid)
            {
                _context.Add(captureScrape);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            else
            {
                Console.WriteLine("error with scrape");
            }
            return(View(captureScrape));
        }
        public async Task <IActionResult> Create(PortfolioInfo portfolioInfo)
        {
            var captureScrape = GetCapture.Capture();

            if (ModelState.IsValid)
            {
                _context.Add(captureScrape);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            else
            {
                Console.WriteLine("error with scrape");
            }
            return(View(captureScrape));
        }