private static void RemoveFromProvider(TypedEntity entity, AbstractCacheProvider cache, string niceUrl)
 {
     cache.RemoveWhereKeyMatches<UrlCacheKey>(x => x.EntityId == entity.Id);
     cache.RemoveWhereKeyContainsString(niceUrl);
 }
 private static void RemoveFromProvider(TypedEntity entity, AbstractCacheProvider cache, string niceUrl)
 {
     cache.RemoveWhereKeyMatches <UrlCacheKey>(x => x.EntityId == entity.Id);
     cache.RemoveWhereKeyContainsString(niceUrl);
 }