public BasicResponse DeleteGascontentanalyzeconfig( GascontentanalyzeconfigDeleteRequest gascontentanalyzeconfigRequest) { _Repository.DeleteGascontentanalyzeconfig(gascontentanalyzeconfigRequest.Id); //更新缓存 var req = new GasContentAnalyzeConfigDeleteCacheRequest { Info = new GascontentanalyzeconfigInfo() { Id = gascontentanalyzeconfigRequest.Id } }; _gasContentAnalyzeConfigCacheService.DeleteCache(req); var gascontentanalyzeconfigresponse = new BasicResponse(); return(gascontentanalyzeconfigresponse); }
public BasicResponse DeleteCache(GasContentAnalyzeConfigDeleteCacheRequest request) { GasContentAnalyzeConfigCache.CacheInstance.DeleteItem(request.Info); return(new BasicResponse()); }