/// <summary> /// 删除 /// </summary> /// <param name="id"></param> public void DeleteCut(string id) { var item = _dbContext.bucket_cut.Find(id); if (item != null) { _dbContext.Remove(item); } _dbContext.SaveChanges(); _cacheManager.Remove(MODEL_KEY); }