public ActionResult Index() { DataTable dt = new DataTable(); List <DataRow> result = new List <DataRow>(); dt = message.getList(); ViewBag.result = DataConvert.toLists(dt); ViewBag.actionName = actionName; ViewBag.controllerName = controllerName; ViewBag.alerts = TempData["alerts"]; return(View()); }