public MainPage(Action logOut) { InitializeComponent(); LogOut = logOut; applicationBar = new ApplicationBar(() => OpenSetsPage(), () => OpenRecommendationPage(), () => OpenProfilePage(), () => OpenAuthenticationPage()); setsPage = new SetsPage(() => OpenExerciseCreationPage(), () => OpenSetCreationPage()); recommendationPage = new RecommendationPage(() => OpenExerciseCreationPage()); profilePage = new ProfilePage(); exerciseCreationPage = new ExerciseCreationPage(() => OpenConformityExercisePage(), () => OpenChoiceExercisePage()); appBar.Content = applicationBar; body.Content = setsPage; }
public RecommendationTagsVm() { RecommendedBooks = new RecommendedBooksVm(); RecommendedBooksPage = new RecommendationPage(RecommendedBooks); }