public IActionResult Index()
        {
            DALCity     dc = new DALCity(_configuration);
            List <City> lc = dc.getCityByName("1");

            return(View(lc));
        }
        public IActionResult SearchTable(City city)
        {
            DALCity dc = new DALCity(_configuration);

            List <City> lc  = dc.getCityByName(city.Name);
            int         len = lc.ToArray().Length;

            DateTime[] date      = new DateTime[len];
            int[]      confirmed = new int[len];
            int[]      death     = new int[len];
            int[]      recovery  = new int[len];

            int    i           = -1;
            string strDate     = "";
            string strCon      = "";
            string strDeath    = "";
            string strRecovery = "";

            foreach (City ct in lc)
            {
                i           += 1;
                date[i]      = ct.Date;
                confirmed[i] = ct.ConfirmedNum;
                death[i]     = ct.Death;
                recovery[i]  = ct.Recovery;
            }

            strDate     = String.Join(",", date);
            strCon      = String.Join(",", confirmed);
            strDeath    = String.Join(",", death);
            strRecovery = String.Join(",", recovery);

            ViewBag.dateInfo      = strDate;
            ViewBag.confirmedInfo = strCon;
            ViewBag.deathInfo     = strDeath;
            ViewBag.recoveryInfo  = strRecovery;
            ViewBag.incConfirmed  = this.IncrementCalculation(confirmed, len);

            ViewBag.cityName = city.Name;
            ViewBag.length   = len;
            return(View("Index", lc));
        }