public IViewComponentResult Invoke() { var about = _aboutRepository.GetAboutUsItems(); var model = _mapper.Map <IEnumerable <AboutUsItem>, IEnumerable <AboutViewModel> >(about); return(View(model)); }