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