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)); }
public JsonResult RefreshEM() { Helpers.AdminService service = new Helpers.AdminService(); return(Json(service.GetAlertEmails("INS"))); }