public void ProcessRequest(HttpContext context) { var cachekey = context.Request["cachekey"]; if (string.IsNullOrEmpty(cachekey)) { AppAdapter.RemoveAllCache(); } else { CacheSync.Rebuild(cachekey); } }
public ServiceResult <object> RemoveAllCache() { AppAdapter.RemoveAllCache(); return(new ServiceResult <object>(null)); }