﻿using Windows.UI.Xaml.Controls;

// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238

namespace Podcasts.Views
{
    using ViewModels;

    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class PodcastsListPage : Page
    {
        public AppViewModel ViewModel => Chrome.Current.ViewModel;

        public NavigationCommand<PodcastPage, PodcastViewModel> NavigateToPodcastPage { get; }
            = new NavigationCommand<PodcastPage, PodcastViewModel>();

        public PodcastsListPage()
        {
            this.InitializeComponent();
            this.DataContext = this;
        }
    }
}