public IEnumerable <MediaFolder> All(Repository repository) { return(repository.ObjectCache().GetCache <MediaFolder[]>("MediaFolderProvider.All", () => { return inner.All(repository).ToArray(); }).AsQueryable()); }
public IEnumerable <Models.MediaFolder> RootFolders(string repositoryName) { return(mediaFolderProvider.All(new Repository(repositoryName))); }