public SettingsViewModel Execute(SettingsInputModel inputModel) { return(new SettingsViewModel()); }
public IActionResult Update(SettingsInputModel input) { new SettingsDb(_config).UpdateSetting(input.Setting, input.CompanyId); UserHelper.setLoggedOnUserCompanyId(input.CompanyId); return(RedirectToAction("Index", new { companyId = input.CompanyId })); }