Ejemplo n.º 1
0
        public async Task <ActionResult> Configure(ConfigurationModel model)
        {
            if (!ModelState.IsValid)
            {
                return(Configure());
            }

            await _settingService.SaveSettingAsync(CoreSettings.FromModel(model));

            _notificationService.SuccessNotification(
                await _localizationService.GetResourceAsync("Admin.Plugins.Saved"));

            return(Configure());
        }