示例#1
0
        public async Task <ActionResult <InvestmentStatus> > GetInvestmentReturnsValueAsync()
        {
            _logger.LogDebug("In PortfolioController:GetInvestmentAndReturnsValueAsync");

            InvestmentStatus investmentStatus = await _portfolioService.GetInvestmentReturnsValueAsync();

            _logger.LogDebug("Returning from PortfolioController:GetInvestmentAndReturnsValueAsync");

            return(Ok(investmentStatus));
        }