public IActionResult Index() { var aboutUs = _aboutUsRepository.GetAboutUsAll(); var model = _mapper.Map <IEnumerable <AboutUs>, IEnumerable <AboutUsViewModel> >(aboutUs); return(View(model)); }
public IActionResult Create() { ViewBag.AboutUs = _aboutUsRepository.GetAboutUsAll(); ViewBag.Service = _servicesRepository.getServices(); return(View()); }