public override void Load() { var response = sysEmergencyLinkageService.GetAllSysEmergencyLinkageInfo(); if (response.IsSuccess && response.Data != null) { _cache.Clear(); _cache = response.Data.Where(o => o.Activity == 1).ToList(); } }
public Basic.Framework.Web.BasicResponse <List <Sys.Safety.DataContract.SysEmergencyLinkageInfo> > GetAllSysEmergencyLinkageInfo() { return(_sysEmergencyLinkageService.GetAllSysEmergencyLinkageInfo()); }