public MainViewModel ()
	    {
            itunesRepository = new ItunesRepository();
            Refresh = new RelayCommand(LoadCover);
            Save = new RelayCommand(UpdateTags);
            Cancel = new RelayCommand(ReadTags);
            SaveCover = new RelayCommand(WriteCoverToFile);
	    }
Exemplo n.º 2
0
        public async Task <IActionResult> Index(string id)
        {
            ItunesRepository ir = new ItunesRepository();

            ViewModels.RootObject iv = await ir.GetItnesInfo(id);

            return(View(iv));
        }