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