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()); }