public async Task <ActionResult> Edit(int id, string type)
        {
            SetddlGenre();
            var album = new AlbumViewModel();

            album = await _albumProvider.GetAlbumById(id);

            return(View(album));
        }
Esempio n. 2
0
        public async Task <AlbumViewModel> GetAlbumById(int id)
        {
            var album = new AlbumViewModel();

            album = await _albumProvider.GetAlbumById(id);

            return(album);
        }