private IObservable<List<Folder>> GetBaseFolders()
        {
            var foldersRepo = new FoldersRepo();

            return Observable.Return(foldersRepo.GetRootFolders().ToList());
        }
Exemplo n.º 2
0
        private IObservable<List<Folder>> GetChildFolders(int id)
        {
            var repo = new FoldersRepo();

            return Observable.Return(repo.GetChildFolders(id).ToList());
        }