public async Task <IActionResult> GetPortfolio(int id) { var Portfolio = await _repo.GetPortfolio(id); //var PortfolioToReturn = _mapper.Map<PortFoliosForDetailedDto>(Portfolio); // go through all coins in portfolio and update the coin holdings from transaction // // must check only users portfolios are returned not other users // return(Ok(Portfolio)); }