@RequestMapping(value="/portfolios", method = RequestMethod.GET)
public @ResponseBody List<PortfolioVO> getPortfolios(HttpServletRequest request, @RequestParam(required= false) String region) {
List<PortfolioVO> portfolios = gmiCacheService.getPortoliosForRegion(user, region);
return portfolios;
}
I have another List from another function that I need to add.
to then just return portfolios. I am very new to Java and do not know how to implement this.