public static void RemovePageActionResult(this ICache cache, string url, string cultureCode) { cache.Remove(ICacheExtensions.GetPageActionResultKey(url, cultureCode)); }
public static IActionResult GetPageActionResultWithDefaultValue(this ICache cache, string url, Func <IActionResult> defaultValueFunc) { return(cache.GetWithDefaultValue( ICacheExtensions.GetPageActionResultKey(url), defaultValueFunc )); }