public async Task <IActionResult> Buy(UserMinimalInfoDto userDto, string stockName, int quantity)
        {
            bool canBuy = await _repo.BuyStock(userDto.Id, stockName, quantity);

            if (canBuy)
            {
                return(Ok());
            }
            else
            {
                return(BadRequest());
            }
        }
        public async Task <IActionResult> GetHoldings(UserMinimalInfoDto userDto)
        {
            List <Holdings> userHoldings = await _repo.GetHoldings(userDto.Id);

            return(Ok(userHoldings));
        }