示例#1
0
        public ActionResult <int> Delete(int id)
        {
            var playlistId = HttpContext.Session.GetInt32("playlistId");

            _watchlistRepository.DeleteMovieFromPlaylist(id);
            return(RedirectToAction("GetWatchlistByPlaylistId", new { playlistId }));
        }