public T LoadItem <T>(Guid id) where T : Page { var page = c.LoadItem <T>(id); if (p.CanUserReadPage(p)) { return(p); } // throw or return null }
// Chain calls on the interface to internal content loader public T LoadItem <T>(Guid id) where T : Page { return(_internalContentLoader.LoadItem <T>(id)); }