コード例 #1
0
        public async Task SaveAsync(TimersSettings timersSettings)
        {
            await _timersSettingsRepository.InsertOrReplaceAsync(timersSettings);

            _cache.Set(timersSettings);
        }
コード例 #2
0
        public async Task UpdateAsync(TimersSettings timersSettings, string userId)
        {
            await _timersSettingsRepository.InsertOrReplaceAsync(timersSettings);

            _cache.Set(timersSettings);
        }