コード例 #1
0
        public async Task InsertOrReplaceAsync(TimersSettings timersSettings)
        {
            var entity = new TimersSettingsEntity(GetPartitionKey(), GetRowKey());

            Mapper.Map(timersSettings, entity);

            await _storage.InsertOrReplaceAsync(entity);
        }
コード例 #2
0
        public async Task <TimersSettings> GetAsync()
        {
            TimersSettingsEntity entity = await _storage.GetDataAsync(GetPartitionKey(), GetRowKey());

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