public bool DeleteLink(int id) { try { bool result = false; if (id > 0) { IContentRepository repos = new ContentRepository(); result = repos.DeleteLink(id); if (result) { Helpers.CacheHelper.RemoveObjectFromCache(Helpers.CacheHelperKeys.CK_ALL_LINKS); } } return(result); } catch (Exception e) { log.ErrorFormat("Service Error {0}", e.ToString()); throw; } }