private void Save_Course(object sender, EventArgs e) { string name = CourseNameBox.Text; courseViewModel.update_in_db(name); NavigationService.Navigate(new Uri("/Views/HomePage.xaml", UriKind.Relative)); }