public async Task InsertOrReplaceAsync(TimersSettings timersSettings) { var entity = new TimersSettingsEntity(GetPartitionKey(), GetRowKey()); Mapper.Map(timersSettings, entity); await _storage.InsertOrReplaceAsync(entity); }
public async Task <TimersSettings> GetAsync() { TimersSettingsEntity entity = await _storage.GetDataAsync(GetPartitionKey(), GetRowKey()); return(Mapper.Map <TimersSettings>(entity)); }