public static Task <BookContainerViewModel[]> GetFromBookShelfStorage(int index, BookShelfViewModel Shelf) { return(Task.FromResult(new BookContainerViewModel[0])); //var storages = await BookShelfStorage.GetBookShelves(); //if (storages.Count > index) //{ // return await GetFromBookShelfStorage(storages[index].Folders,Shelf); //} //else { // return new BookContainerViewModel[0]; //} }
public BookContainerViewModel(string Title, BookShelfViewModel Shelf, BookContainerViewModel Parent = null) { this.Title = Title; this.Parent = Parent; BookShelf = Shelf; }