Interaction logic for EditEventScreen.xaml
Inheritance: System.Windows.Controls.Page
        public void EditEventByID(int id)
        {
            // Redirect user to EditEventScreen to edit their event.
            SessionModel.GetInstance().EditEventID = id;

            EventView editEventScreen = new EventView();
            editEventScreen.SetupNavigationHandler(this.NavigationService);
            this.NavigationService.Navigate(editEventScreen);
        }
        public void EditEventByID(int id)
        {
            // Redirect user to EditEventScreen to edit their event.
            SessionModel.GetInstance().EditEventID = id;

            EventView editEventScreen = new EventView();

            editEventScreen.SetupNavigationHandler(this.NavigationService);
            this.NavigationService.Navigate(editEventScreen);
        }
 private void createEventBtn_Click(object sender, RoutedEventArgs e)
 {
     EventView editEventScreen = new EventView();
     editEventScreen.SetupNavigationHandler(this.NavigationService);
     this.NavigationService.Navigate(editEventScreen);
 }