Esempio n. 1
0
        public IActionResult Index()
        {
            var list  = _aboutUsRepository.GetAllSettings();
            var model = _mapper.Map <IEnumerable <Settings>, IEnumerable <SettingsViewModel> >(list);

            return(View(model));
        }