public void Create(ProviderConfigurationCreateParams parameters) { _repository.Create(new ProviderConfigurationRecord { DisplayName = parameters.DisplayName, ProviderName = parameters.ProviderName, ProviderIdentifier = parameters.ProviderIdentifier, ProviderIdKey = parameters.ProviderIdKey, ProviderSecret = parameters.ProviderSecret, IsEnabled = true }); }
public void Create(ProviderConfigurationCreateParams parameters) { _repository.Create(new ProviderConfigurationRecord { DisplayName = parameters.DisplayName, ProviderName = parameters.ProviderName, ProviderIdentifier = parameters.ProviderIdentifier, ProviderIdKey = parameters.ProviderIdKey, ProviderSecret = parameters.ProviderSecret, IsEnabled = true }); _signals.Trigger(Constants.CacheKey.ProviderCacheKey); }