public IActionResult Index() { var list = _aboutUsRepository.GetAllSettings(); var model = _mapper.Map <IEnumerable <Settings>, IEnumerable <SettingsViewModel> >(list); return(View(model)); }
public IActionResult Index() { var list = _aboutUsRepository.GetAllSettings(); var model = _mapper.Map <IEnumerable <Settings>, IEnumerable <SettingsViewModel> >(list); return(View(model)); }