public void Remove(int id) { productCache.Remove(productCache.Where(cacheEntity => cacheEntity.Key.Id == id).First().Key); productEntityDAO.Remove(id); //TODO : cleanup childs. }
public void Remove(int id) { productEntityDAO.Remove(id); //TODO : cleanup childs. }