public ActionResult Index()
        {
            alertService = new AlertService();
            List <AlertModel> lm = new List <AlertModel>();

            var alertdict = alertService.GetDataExtension();

            foreach (var alertval in alertdict.Values)
            {
                AlertModel am = new AlertModel();
                am.Category = alertval["Alert_Category"];
                lm.Add(am);
            }

            return(View(lm));
        }
 public IActionResult Index()
 {
     alertService = new AlertService();
     alertService.GetDataExtension();
     return(View());
 }