public async Task <CheckerSettings> SetSettingsAsync([FromBody] CheckerSettings value) { var global = await _settingsHelper.GetGlobal(); await _settingsHelper.Set(value); if (global.TimeZoneId != value.Global.TimeZoneId) { _logger.LogInformation($"TimeZoneId changed from {global.TimeZoneId} to {value.Global.TimeZoneId}, updating schedules"); await _manager.UpdateSchedules(); } await _manager.UpdateMaintenanceJobs(value.Global); return(await GetSettingsAsync()); }