private void NavigationHelper_LoadState(object sender, LoadStateEventArgs e)
        {
            if (e.PageState != null)
                DataContext = JsonConvert.DeserializeObject<MainWindowViewModel>(e.PageState["mainDc"].ToString());
            else
                DataContext = new MainWindowViewModel(new TeamModule());

            RequestLoadMembers();
        }
 private void NavigationHelper_LoadState(object sender, LoadStateEventArgs e)
 {
     if (e.PageState != null)
         DataContext = JsonConvert.DeserializeObject<TeamMember>(e.PageState["dc"].ToString());
 }