Esempio n. 1
0
        public async Task UpdateAsync(TimerSettings timerSettings)
        {
            var entity = new TimerSettingsEntity(GetPartitionKey(), GetRowKey());

            Mapper.Map(timerSettings, entity);

            await _storage.InsertOrReplaceAsync(entity);
        }
Esempio n. 2
0
        public async Task <TimerSettings> GetAsync()
        {
            TimerSettingsEntity entity = await _storage.GetDataAsync(GetPartitionKey(), GetRowKey());

            return(Mapper.Map <TimerSettings>(entity));
        }