Esempio n. 1
0
        public IActionResult Index()
        {
            var userId   = User.FindFirstValue(ClaimTypes.NameIdentifier);
            var products = wishListService.GetAllProductIdByUser(userId);

            return(View(new MyWishListViewModel
            {
                Products = products
            }));
        }