// GET: Admin/SettingManagement public ActionResult Index() { ShowSettingViewModel model = new ShowSettingViewModel() { SettingList = _settingsManagement.GetAll().OrderBy(s => s.Name).ToList() }; return(View(model)); }
// GET: Contact public ActionResult Index() { ContactViewModel model = new ContactViewModel { SettingsList = _settingsManagement.GetAll().ToList() }; return(View(model)); }