// GET: Admin/ContentSections public ActionResult Index() { var sections = pageContentService.GetAllPageContents().ProjectTo <ContentSectionListItemViewModel>(); var pageSections = new ContentSectionsListViewModel { ContentSections = sections }; return(View(pageSections)); }