Exemple #1
0
        public IActionResult DeleteFromPortfolio(string code)
        {
            var userId = _userManager.GetUserId(User);

            _portfolioService.DeleteFromPortfolio(userId, code);
            return(RedirectToAction("Index"));
        }