public ActionResult CreateAlert() { List <Alert> AlertList = IBOVirtualAPI.GetAllAlerts(); ViewBag.AlertList = AlertList; Alert Alert = new Alert(); Alert.datetime = DateTime.Now; return(PartialView(Alert)); }
public ActionResult Index() { List <Alert> Alerts = IBOVirtualAPI.GetAllAlerts(); return(View(Alerts)); }