Ejemplo n.º 1
0
        // GET: PortfolioItem
        public IActionResult Index()
        {
            var model = new PortfolioViewModel
            {
                Portfolios     = _portfolioService.GetAll(),
                PortfolioItems = _portfolioItemService.GetAll()
            };

            return(View(model));
        }
Ejemplo n.º 2
0
 // GET: PortfolioItem
 public IActionResult Index()
 {
     return(View(_portfolioItemService.GetAll()));
 }