public async Task DeleteTest()
        {
            var fakeRepository = Mock.Of <IGenreRepository>();
            var genreService   = new GenreService(fakeRepository);

            int genreId = 1;
            await genreService.DeleteAndSave(genreId);
        }
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _genreService.DeleteAndSave(id);

            return(RedirectToAction(nameof(Index)));
        }