public ActionResult Index(PortfolioPage currentPage) { var model = new PortfolioPageViewModel(currentPage) { SkillList = _skillHandler.LoadSkills(currentPage.SkillFolder), HasSkillPublishAccess = _skillHandler.CurrentUserHasSkillPublishAccess(currentPage.SkillFolder), SkillFolderIsSet = _skillHandler.SkillFolderIsSet(currentPage.SkillFolder), HeaderPart = _headerHandler.LoadHeader(currentPage.HeaderFolder), HasHeaderPublishAccess = _headerHandler.CurrentUserHasHeaderPublishAccess(currentPage.HeaderFolder), HeaderFolderIsSet = _headerHandler.HeaderFolderIsSet(currentPage.HeaderFolder) }; return(View(model)); }