Example #1
0
        public IActionResult AddStockToPortfolio(Stock stock)
        {
            _stockService.AddStockToPortfolio(Account.Id, stock);

            return(Ok(new { message = $"Акция добавлена в портфель" }));
        }