示例#1
0
        public PartialViewResult ALPartial()
        {
            AlPartialViewModel m = new AlPartialViewModel();

            Helpers.AdminService service = new Helpers.AdminService();

            m = new AlPartialViewModel()
            {
                aldata        = service.GetAlertEmails("INS"),
                LocSerOptions = service.GetSerLocs(),
                ErrorMessage  = "ERR: " + service.ErrorMessage
            };

            return(PartialView("_AlertsPartial", m));
        }
示例#2
0
 public JsonResult RefreshEM()
 {
     Helpers.AdminService service = new Helpers.AdminService();
     return(Json(service.GetAlertEmails("INS")));
 }