public async Task UpdateApplicationSettings(Dictionary <string, string> applicationSettings, CancellationToken cancellationToken = default)
        {
            cancellationToken.ThrowIfCancellationRequested();

            foreach (var applicationSetting in applicationSettings)
            {
                var spec   = new ApplicationSettingFilterSpecification(applicationSetting.Key);
                var result = await _applicationSettingRepository.GetSingleBySpec(spec);

                result.Value = applicationSetting.Value;

                await _applicationSettingRepository.Update(result, cancellationToken);
            }
        }