Пример #1
0
        public void NavigateToDetails()
        {
            //Open up the Series that's title was written in the Textbox above the list
            //  if(DiscoveredSeries.Where(x => x.name == SeriesName).E
            int seriesId = DiscoveredSeries.Where(x => x.name == SeriesName).First().id;

            NavigationService.Navigate(typeof(SeriesPage), seriesId);
        }
Пример #2
0
        //Open the Series on which the user clicked
        public void NavigateToDetailsWithClick(string seriesName)
        {
            int seriesId = DiscoveredSeries.Where(x => x.name == seriesName).Single().id;

            NavigationService.Navigate(typeof(SeriesPage), seriesId);
        }