public async Task <ActionResult <List <Quote> > > GetRange(string symbol, DateTime startdate, DateTime stopdate)
        {
            List <Quote> quoteList = new List <Quote>();
            Equity       equity    = await eMgr.GetBySymbol(symbol);

            if (equity == default(Equity))
            {
                return(BadRequest(quoteList));
            }
            else
            {
                quoteList = await qMgr.GetByEquityIdAndDateRange(equity.Id, startdate, stopdate);

                if (!quoteList.Any())
                {
                    return(BadRequest(quoteList));
                }
            }
            return(Ok(quoteList));
        }
        public async Task <ActionResult <List <Quote> > > GetRange(string symbol, DateTime startdate, DateTime stopdate)
        {
            ManagerResult <List <Quote> > mrQuoteList = new ManagerResult <List <Quote> >();
            Equity equity = await eMgr.GetBySymbol(symbol);

            if (equity == default)
            {
                mrQuoteList.Success = false;
                mrQuoteList.Message = $"Error fetching symbol: {symbol}";
                mrQuoteList.Entity  = new List <Quote>();
                return(BadRequest(mrQuoteList));
            }
            else
            {
                mrQuoteList = await qMgr.GetByEquityIdAndDateRange(equity.Id, startdate, stopdate);

                if (!mrQuoteList.Success)
                {
                    return(BadRequest(mrQuoteList));
                }
            }
            return(Ok(mrQuoteList.Entity));
        }