public MainViewModel(INavigationService navigation = null) { _navSvc = navigation; Students = new ObservableCollection <Student>(AllStudents.GetAllStudents()); Debug.WriteLine("Exec view"); }
public MainPageViewModel(INavigationService navigationService) { Students = new ObservableCollection <Student>(AllStudents.GetAllStudents()); _navigationService = navigationService; }