示例#1
0
        public IActionResult WatchList()
        {
            var userId = User.FindFirstValue(ClaimTypes.NameIdentifier);
            WatchListViewModel watchListViewModel = new WatchListViewModel
            {
                WatchLists = _watchListRepository.GetWatchListsByUserId(userId)
            };

            return(View(watchListViewModel));
        }