Ejemplo n.º 1
0
        public virtual IActionResult Index(SettingSearchModel searchModel)
        {
            //prepare model
            SettingListModel model = _settingModelFactory.PrepareSettingListModel(searchModel);

            return(Json(model));
        }
        public virtual ActionResult AllSettings(SettingSearchModel searchModel)
        {
            //prepare model
            var model = _settingModelFactory.PrepareSettingListModel(searchModel);

            return(Json(model));
        }
Ejemplo n.º 3
0
        public virtual IActionResult AllSettings(SettingSearchModel searchModel)
        {
            if (!_permissionService.Authorize(StandardPermission.ManageSettings))
            {
                return(AccessDeniedDataTablesJson());
            }

            //prepare model
            var model = _settingModelFactory.PrepareSettingListModel(searchModel);

            return(Json(model));
        }