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

            return(View(model));
        }
Example #2
0
        // GET: Contact
        public ActionResult Index()
        {
            ContactViewModel model = new ContactViewModel
            {
                SettingsList = _settingsManagement.GetAll().ToList()
            };

            return(View(model));
        }