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