private async void btnSearchtapped(object sender, TappedRoutedEventArgs e)
        {
            if (tbSearch.Text.Length == 0)
            {
                return;
            }

            var items = await _repository.GetAllAsync();

            if (items == null)
            {
                return;
            }

            var searchResults = from results in items
                                where results.Name.ToLower().Contains(tbSearch.Text.ToLower())
                                select results;

            var count = searchResults.Count();

            if (count == 0)
            {
                var dlg = new MessageDialog("No matching classes found");
                await dlg.ShowAsync();
            }
            else
            {
                classSummaryListView.ItemsSource = searchResults;
                tbSearchResultsCount.Text        = "Showing " + count.ToString() + " matches";
            }
        }
        private async void InitGrid()
        {
            _repository = new WinRtRepository();
            var items = await _repository.GetAllAsync();

            if (items == null)
            {
                return;
            }

            classSummaryListView.ItemsSource = items;
        }