public static int RemoveChargingPiple(long id) { ChargeRepository mr = new ChargeRepository(); int r = mr.RemoveChargePile(id); List <ChargingPileInfo> miList = mr.GetAllChargingPileInfo();//刷新缓存 Cache.Add("ChargingPileALL", miList); return(r); }
public static int RemoveChargingPiple(long id) { ChargeRepository mr = new ChargeRepository(); int r = mr.RemoveChargePile(id); List <ChargingPileInfo> miList = mr.GetAllChargingPileInfo();//刷新缓存 Cache.Add("ChargingPileALL", miList); return(r); }